remove image with id or name docker which is better code example
Example 1: docker remove image by id
docker rm f90bf1e5fb61
Example 2: docker remove image its name
docker rmi centos
#centos is the name of the docker image
docker rm f90bf1e5fb61
docker rmi centos
#centos is the name of the docker image