我对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