docker: Error response from daemon: driver failed programming external connectivity on endpoint mysql (3d8d89f260c9258467f589d4d7d0c27e33ab72d732d1115d1eb42d708606edc4):
So far, the container is occupied
# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a57959032cc9 mysql:5.7 "docker-entrypoint.s…" About a minute ago Created mysql
# docker rm a57959032cc9
a57959032cc9
Error starting userland proxy: listen tcp4 0.0.0.0:3306: bind: address already in use.
the following is the occupied port number
# netstat -tanlp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 948/sshd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 9217/mysqld
tcp 0 0 172.18.7.111:39412 100.100.45.106:443 TIME_WAIT -
tcp 0 0 172.18.7.111:22 58.100.92.78:9024 ESTABLISHED 6899/sshd: root@pts
See for yourself which is occupied, and then delete it with kill + port number
Read More:
- [Solved] docker: Error response from daemon: driver failed programming external connectivity on endpoint mysql-test …
- [Solved] Docker Error: Error response from daemon: driver failed programming external connectivity on endpoint
- Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen is reported when docker port mapping or starting the container
- Docker Create or Start Nginx Error: docker: Error response from daemon: driver failed programming external connectivity
- [Solved] Docker Error: driver failed programming external connectivity on endpoint
- [Solved] Docker Start nginx error: driver failed programming external connectivity on endpoint nginx
- [Solved] docker Error response from daemon OCI runtime create failed container_linux.go380
- [Solved] Docker failed to start daemon: error initializing graphdriver: driver not supported
- [environment] docker: error response from daemon: OCI runtime
- Docker Error response from daemon: Get https://registry-1.docker.io/v2/portainer/portainer/…
- Docker Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate has expired or is not yet valid
- [Solved] ERROR: for jms_koko Cannot start service koko: driver failed programming
- Mac Docker pull Error: Error response from daemon: Get https://xx.xx.xx.xx/v2/: Service Unavailable
- [Solved] Error response from daemon: OCI runtime create failed: container with id exists: xxzxxxxxxxx
- [Solved] Docker Error: got permission denied while trying to connect to the docker daemon socket at…
- How to Fix ERROR Couldn’t connect to Docker daemon at http+docker://localunixsocket
- Docker Open Error: Warning: docker.service changed on disk. Run ‘systemctl daemon-reload‘ to reload unit
- [Solved] Error response from daemon: Get “*“: x509: certificate signed by unknown authority
- [Solved] docker Error: bridge docker0 failed: exchange full
- [Solved] error during connect: This error may indicate that the docker daemon is not running