Answers for "stop all docker machiens"

18

docker stop all

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
Posted by: Guest on May-10-2020
0

stop all docker machiens

Stop All docker machines : docker-machine stop $(docker-machine ls --format "{{.Name}}") (edited)
Start All docker machines :: docker-machine start $(docker-machine ls --format "{{.Name}}") (edited)
Stop a machines : docker-machine stop "<machine-name>" (edited)
Start a machines :: docker-machine start "<machine-name>" (edited)
Posted by: Guest on August-18-2021

Browse Popular Code Answers by Language