Error response from daemon: driver failed programming external connectivity on endpoint mysql
docker command:
docker start container_name/id
Container Start Error:
Error response from daemon: driver failed programming external connectivity on endpoint mysql (cf1ba9f9e0613e14f42332d187a51429f8213aaf91d775f2ec3600614c78e6e1): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 3306 -j DNAT --to-destination 172.17.0.2:3306 ! -i docker0: iptables: No chain/target/match by that name. (exit status 1)) Error: failed to start containers: mysql
Solution: restart docker:systemctl restart docker
https://blog.csdn.net/qq_45652428/article/details/124870923
Read More:
- [ERROR] [FATAL] InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata
- ERROR: mysqld failed while attempting to check config [How to Solve]
- [Solved] SQLSTATE[HY000] [2002] Connection refused to report an error when PHP connects to mysql in the docker container
- Docker mysql8 modify password
- Docker: How to Solve MYSQL8 & Navicat remote connection error
- [Solved] docker mysql SQLSTATE[HY000] [2002] Connection refused
- Mysql ERROR 1067: Invalid default value for ‘date’ [How to Solve]
- Using Mybatis to connect to the database error: Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver···
- [Solved] MySQL Startup Error: The server quit without updating PID file
- [Solved] mariadb Startup Error: Job for mariadb.service failed because the control process exited with error code.
- MYSQL Slave is not configured or failed to initialize properly. You must at least set –server-id
- How to Solve MYSQL Error: Failed to start MySQL 8.0 database server
- [Solved] CentOS installs MySQL and starts MySQL with error 2002 (HY000)
- [Solved] mysqldump Command Error: Got error: 2002: “Can‘t connect to server on ‘127.0.0.1‘ (36)“ when trying to connect
- [Solved] there are special symbols in the initial password for installing MySQL in Hadoop, and an error is reported
- ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’
- MAC MYSQL Start Error: The server quit without updating PID
- [Linux Docker Mirror] MYSQL Run sql Script Error: Failed to open file ‘/home/mydatabase.sql‘, error: 2
- MySQL character set error resolution: err=Error 3988: Conversion from collation utf8mb4_unicode_ci into utf8_general_ci impo
- How to Fix MySQL ERROR 1130 (HY000): Host ‘XXXX’ is not allowed to connect to this MySQL server