description: fix docker error response from daemon: driver failed programming external connectivity on endpoint
check the port will be used in the container
1 | docker ps |
check the same port used by other containers
1 | docker ps |
option1 stop the containers used the port
1 | sudo docker stop <container_id> |
if not fixed, the port could be occupied by other services
1 | netstat -tulpn | grep :<port_no> |