
[root@VM-0-7-centos conf]# docker restart mysql5.7
Error response from daemon: Cannot restart container mysql5.7: driver failed programming external connectivity on endpoint mysql5.7 (dfd25296808b083e2b352e77d9b818172101a2e52df5961973d0c6800df43ad7): (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))
修改过防火墙配置(从无到有, firewalld)
重启 docker
systemctl restart docker
django 性能不差。
站内搜索加载不出来的话,你叉掉再来一次就快了。
我目前数据库用的 sqlite3,1H2G 上面跑满东西(内存跑满了),正在把 sqlite3 数据库迁移到 另外一台 mysql 服务器。