Skip to content

Workaround to fix insufficient UID/GIDs available in namespace.

micah requested to merge namespace_workaround into main

When pulling the existing container, you get this error:

Error: writing blob: adding layer with blob "sha256:21e91f781347ef824cf7a2bbdef59777beb7f7653e9ff67a870166cf3d275bfb": processing tar file(potentially insufficient UIDs or GIDs available in user namespace (requested 0:42 for /etc/gshadow): Check /etc/subuid and /etc/subgid if configured locally and run podman-system-migrate: lchown /etc/gshadow: invalid argument): exit status 1

This was fixed in the debian-builder.sh script by passing the storage-opt flag to ignore_chown_errors.

Although this is set as a .gitlab-ci.yaml variable (RUNTIME), you cannot use those variables in the .gitlab-ci.yml itself.

Edited by micah

Merge request reports