docker网络2---制定容器名间互通

使用link命令

docker run --link=contanername:nginxtest1 image /bin/bash

猜你喜欢

转载自blog.csdn.net/ssllkkyyaa/article/details/81773133