在Centos6.5上跑了一个mysql容器
docker run -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=xxxx -d mysql:5.7
前十几分钟都能正常运行,后面就无法从外面访问了,只有重启了iptables才可以
service iptables restart
何解?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
闭关修行中......