Start use Docker


I'am starting use Docker! Now I can run project on my Windows PC without Virtual Machine!
The biggest issue was then I have ghost process with docker container.

This commands will be helpful if you wont to rebuild all your containers
# Stop all run images
docker stop $(docker ps -a -q)
# Remove all images
docker rm $(docker ps -a -q)
# Remove all images phisically
docker rmi $(docker images -a -q)
# Delete with force
docker rmi -f <container_id>
# Remove unused images
docker image prune
# Remove stopped containers.
docker container prune
# Remove unused volumes
docker volume prune
# Remove unused networks
docker network prune
# Command to run all prunes:
docker system prune
view raw 01-docker.sh hosted with ❤ by GitHub


more about Docker you can read:
https://habrahabr.ru
https://habrahabr.ru/
https://dou.ua/

Comments