Windows 11 Failed to install the container image
Hi all,
Fresh install of docker desktop on my windows 11 setup and I can't seem to get dangerzone working at all. Other containers seem to work fine, but can't seem to make any progress with dangerzone.
In the GUI version, all I see is error code '125'. In cli, I see:
Installing Dangerzone container image...
Loaded image: dangerzone.rocks/dangerzone:latest
Deleting old dangerzone container image
ERROR Failed to install the container image
This makes sense as in desktop docker I see the image pop up for all of a second and then it is gone again.
I tried to run the following command that was part of the debugging in a different issue thread:
'C:\Program Files\Docker\Docker\resources\bin\docker.EXE' run -e RUNSC_DEBUG=1 --security-opt=no-new-privileges:true --cap-drop all --cap-add SYS_CHROOT --network=none -u dangerzone --rm -i dangerzone.rocks/dangerzone /usr/bin/python3 -m dangerzone.conversion.doc_to_pixels
Unable to find image 'dangerzone.rocks/dangerzone:latest' locally
docker: Error response from daemon: failed to resolve reference "dangerzone.rocks/dangerzone:latest": dangerzone.rocks/dangerzone:latest: not found.
Would appreciate any help!
Hm, given that many folks have started reporting the same error recently (see also #919), I start to believe there's a new Docker Desktop release that somehow breaks Dangerzone. To confirm this, can you run the following commands in a terminal and paste the output here?
docker version
docker info -f 'json'
docker images
docker run hello-world
$ docker version
Client:
Version: 27.2.0
API version: 1.47
Go version: go1.21.13
Git commit: 3ab4256
Built: Tue Aug 27 14:17:17 2024
OS/Arch: windows/amd64
Context: desktop-linux
Server: Docker Desktop 4.34.2 (167172)
Engine:
Version: 27.2.0
API version: 1.47 (minimum version 1.24)
Go version: go1.21.13
Git commit: 3ab5c7d
Built: Tue Aug 27 14:15:15 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.20
GitCommit: 8fc6bcff51318944179630522a095cc9dbf9f353
runc:
Version: 1.1.13
GitCommit: v1.1.13-0-g58aa920
docker-init:
Version: 0.19.0
GitCommit: de40ad0
$ docker info -f 'json'
{"ID":"5ef55349-ecdc-4664-8faa-87a0db5d2557","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"overlayfs","DriverStatus":[["driver-type","io.containerd.snapshotter.v1"]],"Plugins":{"Volume":["local"],"Network":["bridge","host","ipvlan","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","local","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemoryTCP":true,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":true,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":false,"NFd":50,"OomKillDisable":true,"NGoroutines":72,"SystemTime":"2024-09-25T21:20:08.728410348Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","CgroupVersion":"1","NEventsListener":8,"KernelVersion":"5.15.153.1-microsoft-standard-WSL2","OperatingSystem":"Docker Desktop","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":[],"Secure":true,"Official":true},"hubproxy.docker.internal:5555":{"Name":"hubproxy.docker.internal:5555","Mirrors":[],"Secure":false,"Official":false}},"Mirrors":null},"NCPU":16,"MemTotal":16729337856,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"http.docker.internal:3128","HttpsProxy":"http.docker.internal:3128","NoProxy":"hubproxy.docker.internal","Name":"docker-desktop","Labels":["com.docker.desktop.address=npipe://\\\\.\\pipe\\docker_cli"],"ExperimentalBuild":false,"ServerVersion":"27.2.0","Runtimes":{"io.containerd.runc.v2":{"path":"runc"},"nvidia":{"path":"nvidia-container-runtime"},"runc":{"path":"runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"8fc6bcff51318944179630522a095cc9dbf9f353","Expected":"8fc6bcff51318944179630522a095cc9dbf9f353"},"RuncCommit":{"ID":"v1.1.13-0-g58aa920","Expected":"v1.1.13-0-g58aa920"},"InitCommit":{"ID":"de40ad0","Expected":"de40ad0"},"SecurityOptions":["name=seccomp,profile=unconfined"],"CDISpecDirs":[],"Warnings":["WARNING: No blkio throttle.read_bps_device support","WARNING: No blkio throttle.write_bps_device support","WARNING: No blkio throttle.read_iops_device support","WARNING: No blkio throttle.write_iops_device support","WARNING: daemon is not using the default seccomp profile"],"ClientInfo":{"Debug":false,"Version":"27.2.0","GitCommit":"3ab4256","GoVersion":"go1.21.13","Os":"windows","Arch":"amd64","BuildTime":"Tue Aug 27 14:17:17 2024","Context":"desktop-linux","Plugins":[{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v0.16.2-desktop.1","ShortDescription":"Docker Buildx","Name":"buildx","Path":"C:\\Program Files\\Docker\\cli-plugins\\docker-buildx.exe"},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v2.29.2-desktop.2","ShortDescription":"Docker Compose","Name":"compose","Path":"C:\\Program Files\\Docker\\cli-plugins\\docker-compose.exe"},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"0.0.34","ShortDescription":"Get a shell into any image or container","Name":"debug","Path":"C:\\Program Files\\Docker\\cli-plugins\\docker-debug.exe"},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v0.0.15","ShortDescription":"Docker Desktop commands (Alpha)","Name":"desktop","Path":"C:\\Program Files\\Docker\\cli-plugins\\docker-desktop.exe"},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v0.1.2","ShortDescription":"Docker Dev Environments","Name":"dev","Path":"C:\\Program Files\\Docker\\cli-plugins\\docker-dev.exe"},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v0.2.25","ShortDescription":"Manages Docker extensions","Name":"extension","Path":"C:\\Program Files\\Docker\\cli-plugins\\docker-extension.exe"},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v1.0.5","ShortDescription":"Provide feedback, right in your terminal!","Name":"feedback","Path":"C:\\Program Files\\Docker\\cli-plugins\\docker-feedback.exe"},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v1.3.0","ShortDescription":"Creates Docker-related starter files for your project","Name":"init","Path":"C:\\Program Files\\Docker\\cli-plugins\\docker-init.exe"},{"SchemaVersion":"0.1.0","Vendor":"Anchore Inc.","Version":"0.6.0","ShortDescription":"View the packaged-based Software Bill Of Materials (SBOM) for an image","URL":"https://github.com/docker/sbom-cli-plugin","Name":"sbom","Path":"C:\\Program Files\\Docker\\cli-plugins\\docker-sbom.exe"},{"SchemaVersion":"0.1.0","Vendor":"Docker Inc.","Version":"v1.13.0","ShortDescription":"Docker Scout","Name":"scout","Path":"C:\\Program Files\\Docker\\cli-plugins\\docker-scout.exe"}],"Warnings":null}}
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
$ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
c1ec31eb5944: Download complete
Digest: sha256:91fb4b041da273d5a3273b6d587d62d518300a6ad268b28628f74997b93171b2
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
Yeap, you have the latest Docker Desktop release alright. I have managed to reproduce this as well, and I have a workaround. For those who are affected, please take a look at https://github.com/freedomofpress/dangerzone/issues/933.
Can confirm this worked - thank you!