Comments (9)
I have the same issue on macOS. Using colima
as docker engine. Dive tries to pull the image (and fails) while it's just available locally.
from dive.
I suspect this is the same issue resolved by #453 (comment) . It happens when newer versions of Docker Desktop are installed without admin privileges on macOS.
from dive.
maybe also related to: #452
from dive.
Handler not available locally. Trying to pull 'd18bf00f8397'...
Using default tag: latest
This means it will try to pull an image named d18bf00f8397
with the tag latest
which is not what you want.
Could you please post the output of docker images | grep jcasarin
and dive jcasarin:t
?
Also, which version of dive
are you using?
from dive.
Hi @mark2185 ,
as requested this is the output of the first command:
dive version: dive 0.10.0
from dive.
@jmbowman interesting, perhaps it has something to do with the docker client I am using then. We are not allowed to use Docker Desktop so we have an internal docker client, may that be the cause?
from dive.
Hi,
just wanted to share here I found the solution for our internal tool.
We needed to export following environment variables:
DOCKER_CERT_PATH=$(docker context inspect -f '{{ .Storage.TLSPath }}/docker')
DOCKER_HOST=$(docker context inspect -f '{{ .Endpoints.docker.Host }}')
DOCKER_TLS_VERIFY=1
export DOCKER_CERT_PATH DOCKER_HOST DOCKER_TLS_VERIFY
After doing that, I could use dive
as usual in the current terminal session.
maybe you want to take a look about these variables with the dev of colima
, @joske ?
from dive.
maybe you want to take a look about these variables with the dev of colima, @joske ?
Hi @joaocasarin, I am using colima too and just found I have the same problem. Are you saying I should export those variables and see if this works for colima as well? Thanks!
EDIT: I tried this and this is the error that was raised:
Image Source: docker://omi-kml
Fetching image... (this can take a while for large images)
cannot fetch image
could not read CA certificate "/Users/luca/.docker/contexts/tls/f24fd3749c1368328e2b149bec149cb6795619f244c5b584e844961215dadd16/docker/ca.pem": open /Users/luca/.docker/contexts/tls/f24fd3749c1368328e2b149bec149cb6795619f244c5b584e844
961215dadd16/docker/ca.pem: no such file or directory
I am not sure where colima stores the certificates..
from dive.
maybe you want to take a look about these variables with the dev of colima, @joske ?
Hi @joaocasarin, I am using colima too and just found I have the same problem. Are you saying I should export those variables and see if this works for colima as well? Thanks!
EDIT: I tried this and this is the error that was raised:
Image Source: docker://omi-kml Fetching image... (this can take a while for large images) cannot fetch image could not read CA certificate "/Users/luca/.docker/contexts/tls/f24fd3749c1368328e2b149bec149cb6795619f244c5b584e844961215dadd16/docker/ca.pem": open /Users/luca/.docker/contexts/tls/f24fd3749c1368328e2b149bec149cb6795619f244c5b584e844 961215dadd16/docker/ca.pem: no such file or directory
I am not sure where colima stores the certificates..
Hi, actually I use our own internal implementation of docker engine, not Colima. I was told about those variables so we could use Dive, but probably the developers of Colima should know better what to do in order to get it working as well...
Perhaps you open an issue on Colima's repo and mention this thread?
from dive.
Related Issues (20)
- Deploy arm32 binaries HOT 5
- Make project name less generic? HOT 2
- Generic build instructions HOT 2
- How to use Dive in gitlab CI Securely? HOT 3
- Bug: Layers are does not scroll HOT 5
- Cannot analyze through docker desktop HOT 15
- Line wrap toggle does not update the status bar indicator HOT 1
- Unable to analyze the image using dive HOT 15
- Truncate JSON output file
- Build for ARM v8 HOT 4
- Cannot find 'blobs/sha256/...' in parsed layers using dive 0.12.0 HOT 5
- FEATURE REQUEST: Add Json Output file HOT 4
- Docker containerd format fails to parse layers with dive 0.12.0 HOT 1
- Windows IME: if Ctrl + Space (Collapse All) key combination bound in Microsoft Pinyin IME, it stops working in Dive
- Dive hangs just after opening the main view HOT 2
- Alternative to sed regexp
- Test coverage below threshold
- [Question] Can dive show the content of an added file?
- Unsupported file ./dive_0.12.0_linux_amd64.deb given on commandline
- Why device-mapper is needed?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dive.