0

Docker build failing with the following error in a rocky 8 instance Error: creating build container: copying system image from manifest list: writing blob: adding layer with blob "sha256:*********": processing tar file(potentially insufficient UIDs or GIDs available in user namespace (requested 0:42 for /etc/shadow): Check /etc/subuid and /etc/subgid if configured locally and run podman-system-migrate: lchown /etc/shadow: invalid argument): exit status 1

user3627034
  • 1,175
  • 8
  • 13

1 Answers1

0

The fix was to add the particular user under which build was being run to the files /etc/subuid and /etc/subgid and restarting docker process.

user3627034
  • 1,175
  • 8
  • 13