Home > OS >  Recently with the docker want to use the following shell commands, the great god, please give direct
Recently with the docker want to use the following shell commands, the great god, please give direct

Time:09-22

# to closing containers
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 the
2 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
  • Related