我是 Docker 新手,但不是很新,我不了解 Docker 的 cli。但是,我对 Docker 文件和 Docker Compose 做事方式非常陌生。如果有人可以向我解释 docker-compose.yml 的这一部分,我将不胜感激。
我的评论被嵌入:
networks:
vpcbr: <-I know what this is
driver: bridge <-I know what this is
ipam: <-What the heck is this for?
config: <-I know what this is.
- subnet: 10.5.0.0/16 <- Obvious
gateway: 10.5.0.1 <- Obvious