awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
spotify avatar

spotify/docker-gcArchived

0
View on GitHub↗
5,019 星标·437 分支·Shell·Apache-2.0·16 次浏览

Docker Gc

docker-gc 是一个 Docker 主机垃圾回收工具,旨在通过自动删除已退出的容器、未使用的镜像和悬空卷来回收磁盘空间。它充当资源清理器,通过对孤立或非活动容器资源的生命周期管理来优化主机存储。

该实用程序通过保留每个存储库中最近的镜像数量来管理镜像保留,同时删除旧版本。它采用可配置的宽限期来确定镜像和容器何时有资格被删除,并支持基于模式的排除以防止特定资产被删除。

该工具涵盖了广泛的维护操作,包括用于识别删除候选者的状态驱动资源选择,以及清理临时工件以维护系统健康。

Features

  • Unused Container Resource Pruning - Provides a CLI tool for removing dangling images, stopped containers, and unused volumes to reclaim host disk space.
  • Container Maintenance - Automates the cleanup of temporary Docker artifacts to maintain the health of development and production servers.
  • Container Image Retention Policies - Implements chronological pruning of Docker images while respecting minimum retention counts per repository.
  • Container Storage Optimization - Prevents Docker host disk exhaustion by cleaning up orphaned containers and volumes.
  • Container State Filtering - Identifies candidates for removal by filtering for specific states like exited containers or dangling volumes.
  • Container Garbage Collection - Provides automated garbage collection for unused container images, exited containers, and dangling volumes.
  • Dangling Volume Cleanup - Purges dangling Docker volumes and unused resources to prevent host disk space exhaustion.
  • Repository-Aware Image Retention - Tracks the most recent images per repository to maintain a minimum count of preserved builds.
  • Unused Image Pruning - Removes unused or old Docker images to reclaim disk space on the host system.
  • Container Lifecycle Cleanup - Automatically deletes exited Docker containers based on age or specific grace periods.
  • Docker Engine API Clients - Utilizes the Docker Engine API to programmatically query and delete host containers, images, and volumes.
  • Docker - Purges inactive Docker resources based on configurable grace periods and retention rules.
  • Image Version Retention Management - Preserves a minimum number of recent Docker images while deleting older versions.
  • Image Version Retention - Keeps a specified minimum number of the most recent images for each repository to avoid deleting active versions.
  • Resource Identifier Matching Protections - Prevents specific Docker resources from being garbage collected by matching name patterns or unique identifiers.
  • Resource Deletion - Provides configurable grace periods to ensure only resources older than a specific threshold are deleted.
  • Container Utilities - Automated garbage collection for containers and images.

Star 历史

spotify/docker-gc 的 Star 历史图表spotify/docker-gc 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

spotify/docker-gc 是做什么的?

docker-gc 是一个 Docker 主机垃圾回收工具,旨在通过自动删除已退出的容器、未使用的镜像和悬空卷来回收磁盘空间。它充当资源清理器,通过对孤立或非活动容器资源的生命周期管理来优化主机存储。

spotify/docker-gc 的主要功能有哪些?

spotify/docker-gc 的主要功能包括:Unused Container Resource Pruning, Container Maintenance, Container Image Retention Policies, Container Storage Optimization, Container State Filtering, Container Garbage Collection, Dangling Volume Cleanup, Repository-Aware Image Retention。

spotify/docker-gc 有哪些开源替代品?

spotify/docker-gc 的开源替代品包括: chadoe/docker-cleanup-volumes — Docker cleanup volumes is a containerized system maintenance tool and shell script designed to scan host systems and… docker/docker-py — docker-py is a Python library and SDK that serves as a programmatic client for the Docker Engine API. It provides a… eon01/dockercheatsheet — This project is a comprehensive reference guide and cheat sheet for the Docker CLI. It provides a structured… docker-archive-public/docker.kitematic — Kitematic is a graphical user interface for managing and running Docker containers on desktop operating systems. It… apocas/dockerode — Dockerode is a Node.js library that provides programmatic management of Docker containers, images, and volumes by… donknap/dpanel — dpanel is a web-based Docker management interface and remote server manager. It serves as a container lifecycle tool…

Docker Gc 的开源替代方案

相似的开源项目,按与 Docker Gc 的功能重合度排序。
  • chadoe/docker-cleanup-volumeschadoe 的头像

    chadoe/docker-cleanup-volumes

    1,437在 GitHub 上查看↗

    Docker cleanup volumes is a containerized system maintenance tool and shell script designed to scan host systems and delete unused Docker storage volumes. It reclaims disk space by identifying leftover data assets that are no longer attached to any active containers. The utility inspects container-graph dependencies to distinguish between active and orphaned storage items. It supports dry-run preview execution to simulate cleanup operations and review target volumes before any actual data deletion occurs. The software can be executed directly as a command-line shell script or run as a contai

    Shell
    在 GitHub 上查看↗1,437
  • eon01/dockercheatsheeteon01 的头像

    eon01/DockerCheatSheet

    3,938在 GitHub 上查看↗

    This project is a comprehensive reference guide and cheat sheet for the Docker CLI. It provides a structured collection of commands and documentation to help users manage container lifecycles, build images, and handle registries. The documentation specifically covers the orchestration of multi-container applications using Docker Compose and the management of scalable services across multiple nodes via Docker Swarm. It also includes detailed guides for configuring virtual networks, bridges, and ports to control container communication. The reference surface extends to container image administ

    在 GitHub 上查看↗3,938
  • docker/docker-pydocker 的头像

    docker/docker-py

    7,184在 GitHub 上查看↗

    docker-py is a Python library and SDK that serves as a programmatic client for the Docker Engine API. It provides a programmatic interface for controlling containers, images, and clusters, allowing for the automation of containerized applications and engine resources. The library enables remote Docker administration through various transport methods, including Unix domain sockets, TCP ports, and encrypted SSH tunnels. It handles real-time data links by using WebSockets to stream input and output from active containers. The project covers container lifecycle control, image management for buil

    Python
    在 GitHub 上查看↗7,184
  • apocas/dockerodeapocas 的头像

    apocas/dockerode

    4,910在 GitHub 上查看↗

    Dockerode is a Node.js library that provides programmatic management of Docker containers, images, and volumes by acting as a wrapper for the Docker Remote API. It enables JavaScript applications to interact with a Docker engine via Unix sockets or TCP network interfaces. The project covers container lifecycle management, including launching instances and executing commands with bidirectional input and output streaming. It also provides capabilities for building container images, pulling images from registries, and configuring virtual networks. Additional functionality includes the coordinat

    JavaScript
    在 GitHub 上查看↗4,910
  • 查看 Docker Gc 的所有 30 个替代方案→