DDCODE

Share programming skills from Magic Oriental

upArrow

How does docker delete all containers under a mirror

 May 12, 2019   docker, question

clipboard.png
As shown in the figure, I just want to delete all containers of training/webapp. is there a way to delete them in batch?

docker rm $(docker ps -a | awk '/training\/webapp/ {print $1}')

Related Posts:

  • There are several different website containers…
  • There are two containers in Docker. Will the…
  • Can docker-compose.yml specify a local mirror? I…
  • Can elements stored in java containers be containers?
  • The CSS3 box-sizing property is used to realize two…
  • One server, two containers with nginx deployed, has…
  • How many containers are there on your computers?…
  • The two containers communicate with each other, but…
  • Why do I deploy composer containers and the containers stop?
<< The docker command in the sink host runs in the docker container Using docker to install nextcloud, how to modify the data storage location? >>

Related Posts:

  • There are several different website containers…
  • There are two containers in Docker. Will the…
  • Can docker-compose.yml specify a local mirror? I…
  • Can elements stored in java containers be containers?
  • The CSS3 box-sizing property is used to realize two…
  • One server, two containers with nginx deployed, has…
  • How many containers are there on your computers?…
  • The two containers communicate with each other, but…
  • Why do I deploy composer containers and the containers stop?

Tags

Android android-studio apache c c++ centos Css css3 Database Docker Eclipse Express Front end git GitHub golang Html html5 Ios java javascript Jquery Laravel linux macos mongodb mysql Nginx node.js npm objective-c php Programmer python redis ruby shell Spring Sql Swift ubuntu vim vue.js Web xcode

Powered by MyWiki WordPress Theme