mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-23 23:51:03 +00:00
Merge pull request #179 from Jamesking56/patch-1
Remove the containers once you exit
This commit is contained in:
commit
7e4ad3de29
1 changed files with 2 additions and 2 deletions
|
|
@ -127,7 +127,7 @@ A development version of the AUR package is also [available](https://aur.archlin
|
||||||
1. Run the container
|
1. Run the container
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -it -v \
|
docker run --rm -it -v \
|
||||||
/var/run/docker.sock:/var/run/docker.sock \
|
/var/run/docker.sock:/var/run/docker.sock \
|
||||||
-v /yourpath:/.config/jesseduffield/lazydocker \
|
-v /yourpath:/.config/jesseduffield/lazydocker \
|
||||||
lazyteam/lazydocker
|
lazyteam/lazydocker
|
||||||
|
|
@ -138,7 +138,7 @@ A development version of the AUR package is also [available](https://aur.archlin
|
||||||
- You might want to create an alias, for example:
|
- You might want to create an alias, for example:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo "alias lzd='docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v /yourpath/config:/.config/jesseduffield/lazydocker lazyteam/lazydocker'" >> ~/.zshrc
|
echo "alias lzd='docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v /yourpath/config:/.config/jesseduffield/lazydocker lazyteam/lazydocker'" >> ~/.zshrc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue