wordpress-mysql - port mapping issue #71

Open
opened 2025-11-06 14:17:58 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @jkdpro on GitHub (Feb 6, 2023).

I have tried to compose wordpress-mysql at ubuntu 22.04.

I got the following error message:

Error response from daemon: driver failed programming external connectivity on endpoint docker_wp1-wordpress-1 (.....): Error starting userland proxy: error while calling PortManager.AddPort(): cannot expose privileged port 80, you can add 'net.ipv4.ip_unprivileged_port_start=80' to /etc/sysctl.conf (currently 1024), or set CAP_NET_BIND_SERVICE on rootlesskit binary, or choose a larger port number (>= 1024): listen tcp4 0.0.0.0:80: bind: permission denied

I have changed wordress port from 80 to 8080 and it worked.
I think it would be good to change wordpress-mysql/compose.yaml accordingly

Originally created by @jkdpro on GitHub (Feb 6, 2023). I have tried to compose wordpress-mysql at ubuntu 22.04. I got the following error message: `Error response from daemon: driver failed programming external connectivity on endpoint docker_wp1-wordpress-1 (.....): Error starting userland proxy: error while calling PortManager.AddPort(): cannot expose privileged port 80, you can add 'net.ipv4.ip_unprivileged_port_start=80' to /etc/sysctl.conf (currently 1024), or set CAP_NET_BIND_SERVICE on rootlesskit binary, or choose a larger port number (>= 1024): listen tcp4 0.0.0.0:80: bind: permission denied` I have changed wordress port from 80 to 8080 and it worked. I think it would be good to change wordpress-mysql/compose.yaml accordingly
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#71