摘要: Dcokerfile 包含了所有用来组装image的命令。通过docker build来自动创建image。 用法 需要指定本地路径作为上下文目录,路径是本地系统的目录。而docker build会递归的从指定目录去寻找。 $ docker build . Sending build context 阅读全文
posted @ 2017-06-09 13:48 Aiapple 阅读(698) 评论(0) 推荐(0) 编辑
摘要: 为了很好的使用存储引擎,必须明白Dcoker是如何创建和存储images的。 然后要明白这些images是如何让containers使用的。最后简短介绍一些images和containers操作。 Images and layers 每个Docker image都会参照只读列表里的layers,这些 阅读全文
posted @ 2017-06-09 11:41 Aiapple 阅读(1310) 评论(1) 推荐(4) 编辑