21.Docker 网络联通

# 测试打通 tomcat01 -mynet

docker network connect mynet tomcat01

# 一个容器两个ip地址 

结论:假设要跨网络操作别人,就要使用docker network connect 连通!