mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
Added config bind mount instruction to Docker container
This commit is contained in:
parent
d404716d0a
commit
7107a4cfa1
1 changed files with 10 additions and 2 deletions
12
README.md
12
README.md
|
|
@ -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…
Add table
Reference in a new issue