# 创建网络 networkdocker network create zdp_net# 让容器加入网络docker network connect zdp_net mysqldocker network connect zdp_net gitbucket# 测试是否互通docker exec -it gitbucket bashping mysql