docker基础学习
参考https://blog.csdn.net/huangjhai/article/details/118854733
https://www.kuangstudy.com/bbs/1450464478264135682
docker compose
https://www.kuangstudy.com/bbs/1442753646826713089
官方文档https://docs.docker.com/compose/install/
创建yml文件时version出现的问题
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error b wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and nitions under the `services` key, or omit the `version` key and place your service definie file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compos
yml规程
https://docs.docker.com/compose/compose-file/compose-file-v3/
三层
启动顺序
副本