Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker stop all

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
Comment

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)
Comment

PREVIOUS NEXT
Code Example
Shell :: pnpm upgrade 
Shell :: please install all available updates for your release 
Shell :: docker install google chrome 
Shell :: brew install rosetta 
Shell :: how to create an alias in bash 
Shell :: connect project to git repository 
Shell :: how to compare a character to uppercase in bash script 
Shell :: install zabbix 
Shell :: linux unpack gz 
Shell :: apache uninstall ubuntu ssh 
Shell :: install flathub in linux elementary 
Shell :: terminals for ubuntu 20.04 
Shell :: tkPDFViewer install 
Shell :: lumbha ram github 
Shell :: activer core dumped linux 
Shell :: loggy.sh android 
Shell :: uepic games github 
Php :: php check folder exists and create 
Php :: php reverse shell one liner 
Php :: laravel get project root 
Php :: php 0 padding left 
Php :: wordpress max memory limit 
Php :: php remove enter from string 
Php :: laravel tinker update password 
Php :: php strip out special characters 
Php :: a2dismod php 8.0 
Php :: opencart order change status 
Php :: carbon start of week minus one day 
Php :: php remove cookie 
Php :: php artisan db:seed Call to undefined method AppModelsProduct::factory() 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =