基础了解 ¶
镜像(image)与 容器(container)的区别 ¶
- 镜像(类)
- 容器(实例对象)
- 镜像 (父)> 容器(子)
dockerfile 与 docker-compose.yml 的区别 ¶
- Dockerfile 记录单个镜像的构建过程,
- docker-compse.yml 记录一个项目(project, 一般是多个镜像)的构建过程。
- docker-compse.yml > Dockerfile
docker-compose ¶
- https://blog.csdn.net/sannerlittle/article/details/76088504
- https://blog.csdn.net/qq_36148847/article/details/79427878
相关参考文档 ¶
- https://yeasy.gitbooks.io/docker_practice/content/install/mac.html
- https://blog.csdn.net/liuensong/article/details/85082861
- https://www.cnblogs.com/ywrj/p/9594869.html
单容器构建lnmp - 参考 ¶
https://www.runoob.com/docker/docker-install-ubuntu.html ubuntu 系统
https://www.runoob.com/docker/docker-install-centos.html centos 系统
https://blog.csdn.net/SchopenhauerZhang/article/details/86496297
参考 ¶
- Dockerise your PHP application with Nginx and PHP7-FPM
- docker-openresty
- Docker Volume 之权限管理(转)
- bind-mount 或者 COPY 时需要注意 用户、文件权限 的问题
- write in shared volumes docker
1、docker == skanehira/docui https://github.com/skanehira/docui
2、面试官:你简历中写用过docker,能说说容器和镜像的区别吗? https://mp.weixin.qq.com/s/C2WegV3DRh8nAH2fCrGgZg