Error AtlasError Documentation and Resolution

Docker rootless mode failed to start because unprivileged user namespaces are disabled

[rootlesskit:parent] error: failed to start the child: fork/exec /proc/self/exe: operation not permitted

Rootless Docker could not start because the kernel setting for unprivileged user namespace creation is disabled.

failed to start the child: operation not permittedrootless
[rootlesskit:parent] error: failed to start the child: fork/exec /proc/self/exe: operation not permitted
  • The system has /proc/sys/kernel/unprivileged_userns_clone set to 0.
  • The host kernel configuration blocks unprivileged user namespace creation.
  1. Set kernel.unprivileged_userns_clone=1 in sysctl configuration.
  2. Apply the sysctl settings and retry the rootless Docker startup.
Docker Docs: Rootless troubleshooting
Docker rootless operation not permitted: causes and fixes | Error Atlas