mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
Simplified docker run readme thanks to default volume
This commit is contained in:
parent
88896e9117
commit
dec14665e1
1 changed files with 4 additions and 1 deletions
|
|
@ -95,11 +95,14 @@ go get github.com/jesseduffield/lazydocker
|
||||||
1. Run the container
|
1. Run the container
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd)/config:/.config/jesseduffield/lazydocker lazyteam/lazydocker
|
docker run -it -v /var/run/docker.sock:/var/run/docker.sock lazyteam/lazydocker
|
||||||
```
|
```
|
||||||
|
|
||||||
On Windows, replace `$(pwd)` by `%cd%`.
|
On Windows, replace `$(pwd)` by `%cd%`.
|
||||||
|
|
||||||
|
You can optionally bind mount the config directory with `-v $(pwd)/config:/.config/jesseduffield/lazydocker`,
|
||||||
|
although it is saved in a volume by default.
|
||||||
|
|
||||||
You can also use this [docker-compose.yml](https://github.com/jesseduffield/lazydocker/blob/master/docker-compose.yml)
|
You can also use this [docker-compose.yml](https://github.com/jesseduffield/lazydocker/blob/master/docker-compose.yml)
|
||||||
|
|
||||||
For development, you can build the image using:
|
For development, you can build the image using:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue