Added config bind mount instruction to Docker container

pull/36/head
Quentin McGaw 5 years ago
parent d404716d0a
commit 7107a4cfa1

@ -104,12 +104,20 @@ go get github.com/jesseduffield/lazydocker
```
</p></details>
1. Run it
1. Create a directory *config* on your host:
```sh
docker run -it -v /var/run/docker.sock:/var/run/docker.sock lazydocker
mkdir config
```
1. Run the container
```sh
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd)/config:/.config/jesseduffield/lazydocker lazydocker
```
On Windows, replace `$(pwd)` by `%cd%`
## Usage
Call `lazydocker` in your terminal. I personally use this a lot so I've made an alias for it like so:

Loading…
Cancel
Save