docker system prune
docker system prune -a
/var/lib/docker/overlay2
sudo docker run it -rm -p 12345:80 -d wordpress
- -d: detach (background)
- -rm: delete container when stopped
- -it: interactive mode
sudo docker ps -a
sudo docker start [id]
sudo docker stop [id]
sudo docker rm [id]
docker-compose pull
docker-compose up -d --remove-orphans
docker image prune
- Go to Registry and download new image (mostly the “latest” version)
- Go to Container, select the container you need to update and stop it
- From Actions menu select “Clear/Reset”
- Start the container again