docker remove image without name code example Example: docker remove image its name docker rmi centos #centos is the name of the docker image