mirror of
https://github.com/wagoodman/dive
synced 2026-03-14 14:25:50 +01:00
Update README.md with DOCKER_HOST env var instructions (#565)
I had an error pulling local images. Setting the DOCKER_HOST env var fixed this problem for me. This has has been mentioned in issues such as https://github.com/wagoodman/dive/issues/542#issuecomment-2267720375
This commit is contained in:
parent
270f321d23
commit
ee49a5174c
1 changed files with 4 additions and 0 deletions
|
|
@ -219,6 +219,10 @@ docker run --rm -it \
|
|||
-e DOCKER_API_VERSION=1.37 \
|
||||
ghcr.io/wagoodman/dive:latest <dive arguments...>
|
||||
```
|
||||
if you are using an alternative runtime (Colima etc) then you may need to specify the docker host as an environment variable in order to pull local images:
|
||||
```bash
|
||||
export DOCKER_HOST=$(docker context inspect -f '{{ .Endpoints.docker.Host }}')
|
||||
```
|
||||
|
||||
## CI Integration
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue