in Docker by
How can you remove a running container or Image?

1 Answer

0 votes
by

We can remove a running container or Image using the force option along with the container or Image remove command. We can use the following commands:

$ docker rm -f <container-name>
$ docker rmi -f <image-name>
...