使用linux命令 使用vim打开 /etc/sysctl.conf 重启网络 重启docker systemctl restart docker 重启mysql容器 docker restart mysql 如果docker ps 没有任何输出,那么运行 docker start mysql