Comments (2)
I had the same problem just tonight! I tried sharing the Windows docker
binary, but that doesn't make much sense (as this image is some kind of Linux).
PS> docker run --rm -it `
>> -v /var/run/docker.sock:/var/run/docker.sock `
>> -v "$((Get-Command -Name docker).Source):/bin/docker" `
>> wagoodman/dive alpine
So, I figured docker
must be in the MobyLinuxVM that's running under-the-covers, right? Apparently the latest Docker for Windows can figure out when you want to pass a VM path vs. a Windows path (you previously had to use an extra forward slash to escape it or something).
PS> docker run --rm -it `
>> -v /:/test `
>> alpine find /test -name docker -type f
/test/user/local/bin/docker
...
OK, so it's in there, we can use it! This command worked on my machine!
PS> docker run --rm -it `
>> -v /var/run/docker.sock:/var/run/docker.sock `
>> -v /usr/local/bin/docker:/bin/docker `
>> wagoodman/dive alpine
from dive.
@AnthonyMastrean thanks for taking a look at this, I don't have a windows box readily available so this is a huge help.
from dive.
Related Issues (20)
- Dive always fail when trying to fetch local image HOT 9
- Can we do docker layer wise scan for vulnerability detection HOT 4
- Display --link COPY/ADD layers HOT 2
- Stay on filtered node
- Layers pane doesn't scroll when navigating to layer below visible region HOT 7
- Possibility to extend the efficiency rules by configuration
- Terminal prints broken on macOS with ko_KR locale HOT 3
- Can't inspect `docker:23.0.1` through podman
- Hotkeys: Jump to last/next folder
- Addition for README file
- Export dive information HOT 3
- 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
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.