Simplified docker run readme thanks to default volume

pull/36/head
Quentin McGaw 5 years ago
parent 88896e9117
commit dec14665e1

@ -95,11 +95,14 @@ go get github.com/jesseduffield/lazydocker
1. Run the container
```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%`.
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)
For development, you can build the image using:

Loading…
Cancel
Save