Skip to content

Commit

Permalink
Update README.md with DOCKER_HOST env var instructions
Browse files Browse the repository at this point in the history
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 #542 (comment)
  • Loading branch information
benjamin-brady authored Jan 30, 2025
1 parent 925cdd8 commit d340b5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ docker run --rm -it \
-e DOCKER_API_VERSION=1.37 \
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

Expand Down

0 comments on commit d340b5b

Please sign in to comment.