Added config bind mount instruction to Docker container

This commit is contained in:
Quentin McGaw 2019-07-02 20:26:15 +02:00
parent d404716d0a
commit 7107a4cfa1

View file

@ -104,12 +104,20 @@ go get github.com/jesseduffield/lazydocker
``` ```
</p></details> </p></details>
1. Run it 1. Create a directory *config* on your host:
```sh ```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 ## Usage
Call `lazydocker` in your terminal. I personally use this a lot so I've made an alias for it like so: Call `lazydocker` in your terminal. I personally use this a lot so I've made an alias for it like so: