arresta tutto il contenitore nella finestra mobile
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
arresta contenitore docker
//Check if the container is running
docker ps -a
docker container stop {container-id}
docker arresta tutti i contenitori
docker stop $(docker ps -a -q)
ferma finestra mobile contenitore
// Chcek wether the container is running or not
docker ps
// Stop container by using either container id or name
docker stop <container id or name>
// Stop container based on seconds
docker stop <container id or name> -t <seconds>
finestra mobile chiudi tutti i contenitori
stop all containers:
docker kill $(docker ps -q)
remove all containers:
docker rm $(docker ps -a -q)
remove all docker images:
docker rmi $(docker images -q)
come fermare docker
systemctl stop docker.service
#(OR)
systemctl stop docker
# it will start docker