How to get the list of dependent child images in Docker?

后端 未结 12 865
耶瑟儿~
耶瑟儿~ 2020-12-12 11:22

I\'m trying to remove an image and I get:

# docker rmi f50f9524513f  
Failed to remove image (f50f9524513f): Error response from daemon: conflict: unable to          


        
12条回答
  •  甜味超标
    2020-12-12 12:11

    I was also facing the same issue. Fallowed steps below to resolve the issue.

    Stop all running containers

    docker stop $(docker ps -aq) Remove all containers

    docker rm $(docker ps -aq) Remove all images

    docker rmi $(docker images -q)

提交回复
热议问题