CentOS 8 - Docker Container scenarios to Start with 'scenarios starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use'
I've tried everything I can think of but I'm reviewing some code and I tried several approaches but none seem to work... I'm trying to run a Docker container on CentOS 8 that should listen on port 80, but I'm getting the behavior: `behavior starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use`. I've confirmed that nothing else is running on that port using `sudo netstat -tuln | grep :80`, and it shows no output, which suggests that the port is free. I have tried restarting the Docker service with `sudo systemctl restart docker`, but the scenario continues. Additionally, I've checked the Docker daemon configuration in `/etc/docker/daemon.json`, which is currently set up like this: ```json { "hosts": ["unix:///var/run/docker.sock", "tcp://0.0.0.0:2375"] } ``` The container I'm trying to run uses the following command: ```bash docker run -d -p 80:80 my-web-app ``` I’ve also made sure that SELinux is set to permissive mode by running `sestatus`, and it indicates that SELinux is permissive. My Docker version is 20.10.7, and the kernel version is 4.18.0-305.el8.x86_64. What could be causing this behavior, and how can I resolve this scenario so my Docker container can start successfully? Any help would be greatly appreciated! I'm on macOS using the latest version of Bash. This issue appeared after updating to Bash 3.11. Has anyone else encountered this?