I'm using ubuntu-16.04 desktop and Installed theinstalled Docker-1.5-1
and docker-engine-17.05.0~ce-0~ubuntu-xenial
, Inin which I installed openmedicus/phplist
. myMy aim is to remove the container, and the image as well.
ButThe issue is that, It's remove the container is removed successfully but after sometime it'ssome time the container is automatically created with diffrenta different container ID.
I even i trytried to remove images also but facingfaced the same issue;issue.
tryingTrying to remove images:
$ docker images | grep phplist
openmedicus/phplist latest 24d3de5279cb 4 months ago 694MB
$ docker rmi openmedicus/phplist:latest --force
Untagged: openmedicus/phplist:latest
Untagged: penmedicus/phplist@sha256:6ac98b2f624eb8cd61b64c4b398650975a876224d5925175c58ff0c1b05a2593
$ docker images | grep phplist ## Delete Sucessfully
Now trying to remove container :
$ docker ps
b02b641560e8 24d3de5279cb "/bin/sh -c /usr/s..." 2 minutes ago Up 2 minutes 0.0.0.0:8080->80/tcp
$ docker stop b02b641560e8
b02b641560e8
$ docker rm b02b641560e8 --force # Remove Sucessfully
b02b641560e8
Again, the container is created automatically :
$ docker ps
2c78199dc40c openmedicus/phplist "/bin/sh -c /usr/s..." 29 seconds ago Up 28 seconds 0.0.0.0:8080->80/tcp phplist
How tocan I remove dockerthe Docker container and image permanently ?