I'm trying to launch docker.io/sickcodes/dock-droid:latest on Pop_OS 22.04 with podman 3.4.4. I'm getting the following error:
$ docker run -it --device /dev/kvm -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -p 5555:5555 docker.io/sickcodes/dock-droid
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Trying to pull docker.io/sickcodes/dock-droid:latest...
[snip blob copying]
Error: writing blob: adding layer with blob "sha256:737951ef135522efba7bed8ee87e3d49e44a3b63120c7df4e4e4d821a48c6ecc": Error processing tar file(exit status 1): potentially insufficient UIDs or GIDs available in user namespace (requested 1000:1000 for /home/arch): Check /etc/subuid and /etc/subgid: lchown /home/arch: invalid argument
By the by, /etc/subuid and /etc/subgid are both empty.
Looking at a tip I found online, I added the --storage-opt ignore_chown_errors=true to the command. This gave me a related error:
$ podman --storage-opt ignore_chown_errors=true run -it --device /dev/kvm -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -p 5555:5555 docker.io/sickcodes/dock-droid
Trying to pull docker.io/sickcodes/dock-droid:latest...
Getting image source signatures
[snip]
Writing manifest to image destination
Storing signatures
Error: OCI runtime error: runc create failed: unable to start container process: unable to setup user: invalid argument
Googling that error message seems to indicate that it is related UID mapping, so I think the two issues are related.
I'm trying to launch docker.io/sickcodes/dock-droid:latest on Pop_OS 22.04 with podman 3.4.4. I'm getting the following error:
By the by, /etc/subuid and /etc/subgid are both empty.
Looking at a tip I found online, I added the
--storage-opt ignore_chown_errors=true
to the command. This gave me a related error:Googling that error message seems to indicate that it is related UID mapping, so I think the two issues are related.
For reference:
Thanks for any suggestions.