I am using docker 1.12.5 as below:
$ docker --version
Docker version 1.12.5, build 7392c3b
I have below images:
$ docker images|grep 5000
hoth.southbanksoftware.com:5000/dbenvy-controller              <none>              d1e229866063        4 days ago          919.4 MB
I use below command to remove this image but failed:
$ docker rmi -f hoth.southbanksoftware.com:5000/dbenvy-controller
Error response from daemon: No such image: hoth.southbanksoftware.com:5000/dbenvy-controller:latest
It failed since the tag is not latest. Then I tried to remove it by id:
$ docker rmi -f d1e229866063
Error response from daemon: conflict: unable to delete d1e229866063 (cannot be forced) - image has dependent child images
it shows that there is dependent child images. Then how can I remove this image and its child images?
EDIT1
After following this link docker how can I get the list of dependent child images?, I did remove some images but below images still left and not able to delete.
$ docker images |grep 5000
hoth.southbanksoftware.com:5000/dbenvy-controller   <none>              4074bfc5705b        3 weeks ago         667.8 MB
hoth.southbanksoftware.com:5000/ubuntu_jdk8         <none>              4074bfc5705b        3 weeks ago         667.8 MB
Below is the child images of this image id 4074bfc5705b:
$ docker images --filter since=4074bfc5705b
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
<none>              <none>              315ce2f11b01        4 days ago          667.8 MB
mysql               latest              594dc21de8de        9 days ago          400.2 MB
mongo               latest              86e302671af4        3 weeks ago         401.9 MB
What I don't understand is that why mysql and mongo docker images are listed there. They were created by docker pull command directly. How come they become a child image?
 
     
    