摘要: 每个容器都有自己独特的ip地址,获取各个docker在docker网段中所用的ip即可: 1、进入docker容器 docker exec -it mysql /bin/bash 2、查看hosts文件 cat /etc/host 最后一行即为IP地址:一般为172.17.0.* 阅读全文
posted @ 2021-11-27 22:15 taodaahu 阅读(326) 评论(0) 推荐(0)
摘要: Python的使用与Docker结合 阅读全文
posted @ 2021-11-27 01:24 taodaahu 阅读(254) 评论(0) 推荐(0)