Очистка места на диске после docker

Технолигия Docker позволяет упаковать приложение или сервис в контейнер, который легко может быть запущен в любом окружении. Однако при активной работе с Docker жесткий диск быстро засоряется неиспользуемыми образами, контейнерами и томами данных.

УСТАНОВКА ПРИВАТНОГО DOCKER РЕПОЗИТОРИЯ

В этой статье будет рассмотрено как быстро и легко установить собственный приватный Docker репозиторий. Приватный Docker репозиторий может понадобиться вам скорее всего только в одном случае: ограничение доступа к Docker образам периметром вашей организации. В остальных случаях можно пользоваться любыми публично доступными репозиториями.

Everyday Hacks for Docker

  In this post, I’ve decided to share with you some useful commands and tools I frequently use when working with awesome Docker technology. There is no particular order or “coolness level” for every “hack.” I will simply present the use case and how the specific command or tool has helped me with my work.  

Overview of docker-compose CLI

This page provides the usage information for the docker-compose Command. You can also see this information by running docker-compose —helpfrom the command line.

The Docker Compose binary. You use this command to build and manage multiple services in Docker containers. Use the -f flag to specify the location of a Compose configuration file. You… Continue reading «Overview of docker-compose CLI»

How To Remove Docker Images, Containers, and Volumes

How to Use This Guide: This guide is in cheat sheet format with self-contained command-line snippets Jump to any section that is relevant to the task you are trying to complete. The command substitution syntax, command $(command), used in the commands is available in many popular shells such as bash, zsh, and Windows Powershell. Removing… Continue reading «How To Remove Docker Images, Containers, and Volumes»

Docker – Clean Up After Yourself!

1. Make sure that exited containers are deleted. When a docker container exits, the container is not deleted automatically. You can see all of the containers with ‘docker ps -a’ command. To clean up the exited containers, the command to use is as follows.

This will remove the exited containers. The -v flag is… Continue reading «Docker – Clean Up After Yourself!»