Error AtlasError Documentation and Resolution

Docker rootless mode could not publish a privileged port

cannot expose privileged port 80

Rootless Docker could not bind a host port below 1024 because privileged ports require extra kernel or capability configuration in rootless mode.

cannot expose privileged portrootless
cannot expose privileged port 80
  • The container is trying to publish a host port below 1024 in rootless mode.
  • The system has not been configured to allow privileged port exposure from rootless Docker.
  1. Use a higher host port such as 8080 instead of 80.
  2. If required, configure the host to allow privileged ports for rootless networking as documented by Docker.
Docker Docs: Rootless troubleshooting
Docker cannot expose privileged port: causes and fixes | Error Atlas