参考: https://www.cnblogs.com/neptunemoon/p/6512121.html 待续 安装参见docker compose官网: https://github.com/docker/compose/releases 和 https://docs.docker.com/c Read More
posted @ 2019-02-21 16:50 大树的博客 Views(173) Comments(0) Diggs(0) Edit
转自:https://www.cnblogs.com/jsonhc/p/7766841.html https://www.cnblogs.com/jsonhc/p/7767669.html Docker通过对于在Dockerfile中的一系列指令的顺序解析实现自动的image的构建 通过使用buil Read More
posted @ 2019-02-21 16:44 大树的博客 Views(141) Comments(0) Diggs(0) Edit
手动编辑自定义镜像 查看本地现有镜像: 基于centos创建一个,会自动下载centos最新原始镜像 然后在容器内安装redis服务: [root@b11c52af3a09 /] mkdir /main [root@b11c52af3a09 /] cd /main/ [root@b11c52af3a Read More
posted @ 2019-02-21 16:02 大树的博客 Views(223) Comments(0) Diggs(0) Edit
参考转自 https://www.cnblogs.com/jsonhc/p/7760144.html Docker的container 运行一个container的本身就是开启一个具有独立namespace的进程 进程有自己的网络,文件系统等 docker通过run命令来启动一个container Read More
posted @ 2019-02-21 15:35 大树的博客 Views(770) Comments(0) Diggs(0) Edit
关于docker的介绍: https://www.cnblogs.com/neptunemoon/p/6512121.html docker入门教程:http://www.docker.org.cn/book/docker/what is docker 16.html 不错的一个命令介绍: http Read More
posted @ 2019-02-21 13:55 大树的博客 Views(167) Comments(0) Diggs(0) Edit