mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
Fixed Docker regarding no size window with gocui
- Runs the container with `/bin/sh` initially - Invoke `lazydocker` from within the container, or gocui fails as the terminal window is invalid at launch
This commit is contained in:
parent
ceb8cfcd76
commit
330131b6ca
2 changed files with 3 additions and 2 deletions
|
|
@ -24,6 +24,5 @@ LABEL org.label-schema.schema-version="1.0.0-rc1" \
|
|||
org.label-schema.vcs-description="The lazier way to manage everything docker" \
|
||||
org.label-schema.docker.cmd="docker run -it -v /var/run/docker.sock:/var/run/docker.sock lazydocker" \
|
||||
org.label-schema.version=${VERSION}
|
||||
RUN apk --update add -q --progress --no-cache -U git xdg-utils
|
||||
ENTRYPOINT [ "lazydocker" ]
|
||||
ENTRYPOINT [ "/bin/sh" ]
|
||||
COPY --from=builder /go/src/github.com/jesseduffield/lazydocker/lazydocker /usr/bin/lazydocker
|
||||
|
|
|
|||
|
|
@ -97,6 +97,8 @@ go get github.com/jesseduffield/lazydocker
|
|||
docker run -it -v /var/run/docker.sock:/var/run/docker.sock lazydocker
|
||||
```
|
||||
|
||||
1. Then enter `lazydocker`
|
||||
|
||||
## Usage
|
||||
|
||||
Call `lazydocker` in your terminal. I personally use this a lot so I've made an alias for it like so:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue