Docker stop
# if containers closed to delete
Docker rm
Image # container to delete the delete
Docker rmi
Mirror # delete after running the new image
Docker run
How do you decide? I am not a operations staff, thank you,
CodePudding user response:
Echo $1, you can see? The return value of the2 can verify the result of each step after such as docker stop after see docker status after the docker rm see docker ps docker rmi see docker images
CodePudding user response:
You is this shell command