摘要:
https://blog.csdn.net/q741983251/article/details/84635092 阅读全文
摘要:
https://www.imooc.com/wenda/detail/520218 阅读全文
摘要:
docker查看容器的网络ip docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id 可直接获得容器的ip地址如:172.18.0.4 显示所有容器IP地址: 阅读全文
摘要:
1、新建docker-compose.yml文件,文件的基本模板如下:(由于yml格式比较严格,注意空格缩进) version: '2.0' services: nginx: restart: always image: nginx:1.11.6-alpine ports: - 8080:80 - 阅读全文
摘要:
环境 首先安装Docker,无论你是Windows还是Linux、MocOS都可以。安装Docker自行百度。 Docker镜像源 访问https://hub.docker.com即可,它是镜像大仓库。 安装Ngnix镜像 输入: docker pull nginx 安装php镜像 docker p 阅读全文