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