Error response from daemon: Conflict: unable to delete 8598c91556dc (must be forced)

>

docker rmi $(docker images | grep "none" | awk '{print $3}')

:
ror response from daemon: conflict: Unable to delete 8598c91556DC (must be forced) – image is being used by stopped container 8f10ef9b804f
Because mirroring is used by a container, you need to delete the container first, and then execute the delete command

docker rm 8f10ef9b804f

docker rmi $(docker images | grep "none" | awk '{print $3}')

Docker 19.03 for July 2019 has been officially released, and for me there are two highlights of this release.
1, is the docker don’t need root access to start drinking run
2, is to support the GPU enhancements, we want to read in the docker nvidia graphics card no longer need extra install nvidia – docker
Verify GPU options:
docker run –help | grep -i gpus
Docker calls the GPU command:
docker run -it –rm –gpus all ubuntu /bin/bash
The training model
parameter — GPUS ID must be present, otherwise the GPU will not be used. ID refers to which GPU is used for training, and it refers to binding the container to the specified GPU for running
 
Refer to the blog: https://blog.csdn.net/byaa34616/article/details/100951724

Read More: