Skip to content

Commit d340b5b

Browse files
Update README.md with DOCKER_HOST env var instructions
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 wagoodman#542 (comment)
1 parent 925cdd8 commit d340b5b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ docker run --rm -it \
200200
-e DOCKER_API_VERSION=1.37 \
201201
wagoodman/dive:latest <dive arguments...>
202202
```
203+
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:
204+
```bash
205+
export DOCKER_HOST=$(docker context inspect -f '{{ .Endpoints.docker.Host }}')
206+
```
203207

204208
## CI Integration
205209

0 commit comments

Comments
 (0)