我构建了一个映像: Dockerfile:
FROM centos:7构建命令:
$ docker build -t my-image:1.0 .现在,我做了第二个映像(基于原始dockerfile) Dockerfile:
FROM centos:7
RUN yum install -y mysql我在true上使用--no-cache选项构建
$ docker build --no-cache=true -t my-image:1.1 .
Sending build context to Docker daemon 2.048 kB
Step 1 : FROM centos:7
---> 970633036444
Step 2 : xx它似乎在使用缓存。同时,当我尝试删除我的图片:1.0:
docker rmi 970633036444
Error response from daemon: conflict: unable to delete 970633036444 (cannot be forced) - image has dependent child images我做错了什么?
发布于 2016-08-23 12:16:07
https://stackoverflow.com/questions/39100587
复制相似问题