Last active
October 31, 2025 10:35
-
-
Save wasiliysoft/f9922e07c221e7156aabfe9308d31595 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Показать дисковое пространство Docker | |
| docker system df | |
| # 2. Удалить неиспользуемые контейнеры | |
| docker container prune | |
| # Удалить все неиспользуемые image | |
| docker image prune -a | |
| # Удалить все неиспользуемые volume | |
| docker volume prune -a | |
| # Более агрессивная очистка (включая тома) | |
| docker system prune -a --volumes | |
| # Посмотреть подробную информацию о container | |
| docker container ls -q | xargs docker container inspect | |
| # Посмотреть подробную информацию о volumes | |
| docker volume ls -q | xargs docker volume inspect | |
| # Посмотреть подробную информацию о image | |
| docker image ls -q | xargs docker image inspect | |
| # Терминал | |
| docker exec -it my_container /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment