Laozi
01/29/2026, 1:00 AMAnswer Overflow
01/29/2026, 1:00 AMxyny
01/29/2026, 6:28 AMxyny
01/29/2026, 6:28 AMxyny
01/29/2026, 6:29 AMbluebuild build directlyxyny
01/29/2026, 6:30 AMLaozi
02/03/2026, 10:36 PMgmpinder
02/03/2026, 10:43 PMgmpinder
02/03/2026, 10:43 PMbluebuild --help to see all the optionsRobert
02/07/2026, 7:31 AMPandabrain
03/22/2026, 10:47 AMLaozi
03/30/2026, 8:39 PMPandabrain
03/30/2026, 8:59 PMLaozi
03/30/2026, 9:17 PMpodman system service -t 0 to get the socket at /run/podman/podman.sock
The issues:
- there seems to be an issue with the mapping of subuids and subgids and buildx gives this error: potentially insufficient UIDs or GIDs available in user namespace (requested 0:42 for /etc/shadow)
I just tried mounting the socket into the container like you mentioned (but with the podman socket instead) but I think I'm missing where the socket actually is...
- the runner systemd unit has DOCKER_HOST=unix:///run/user/<uid>/podman/podman.sock
- Then in the workflow I have: --volume /run/user/<uid>/podman/podman.sock:/run/podman/podman.sock which doesn't properly mount...
I'm not sure if I'm way overcomplicating things, but I was hoping to get this all done without the use of docker and dind.Pandabrain
03/30/2026, 9:35 PMPandabrain
03/30/2026, 9:39 PMLaozi
03/30/2026, 11:41 PMoptions: "--privileged --storage-opt overlay.ignore_chown_errors=true -v /run/user/<UID>/podman/podman.sock:/run/podman/podman.sock:rw"
also the env has DOCKER_HOST set to the /run/podman/podman.sock
This is in the workflow ^ and it doesn't work. The script below does work though:
podman run --rm -it --privileged --storage-opt overlay.ignore_chown_errors=true -v /run/user/<UID>/podman/podman.sock:/run/podman/podman.sock:rw -v "${CI_WORKSPACE}:/workdir:Z" -w /workdir \
-e DOCKER_HOST=unix:///run/podman/podman.sock ghcr.io/blue-build/cli:latest bash -c "... env vars ... bluebuild build ..."
Okay I found the issue: [/run/user//podman/podman.sock] is not a valid volume, will be ignored... Now I have to do some magic to solve it.