All Projects → softonic → docker-system-prune

softonic / docker-system-prune

Licence: other
Docker system prune automatically

Programming Languages

Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to docker-system-prune

Swarmlet
A self-hosted, open-source Platform as a Service that enables easy swarm deployments, load balancing, automatic SSL, metrics, analytics and more.
Stars: ✭ 373 (+1765%)
Mutual labels:  cluster, swarm
clusterplex
ClusterPlex is basically an extended version of Plex, which supports distributed Workers across a cluster to handle transcoding requests.
Stars: ✭ 123 (+515%)
Mutual labels:  cluster, swarm
deploykit
A toolkit for creating and managing declarative, self-healing infrastructure.
Stars: ✭ 2,246 (+11130%)
Mutual labels:  cluster, swarm
Terraform Digitalocean Docker Swarm Mode
Terraform module for provisioning a Docker Swarm mode cluster on DigitalOcean
Stars: ✭ 59 (+195%)
Mutual labels:  cluster, swarm
Amp
** THIS PROJECT IS STOPPED ** An open source CaaS for Docker, batteries included.
Stars: ✭ 74 (+270%)
Mutual labels:  cluster, swarm
Deploykit
A toolkit for creating and managing declarative, self-healing infrastructure.
Stars: ✭ 2,237 (+11085%)
Mutual labels:  cluster, swarm
Miniswarm
Docker Swarm cluster in one command
Stars: ✭ 130 (+550%)
Mutual labels:  cluster, swarm
Raspi Cluster
Notes and scripts for setting up (yet another) Raspberry Pi computing cluster
Stars: ✭ 235 (+1075%)
Mutual labels:  cluster, swarm
bee-docs
Documentation for the Swarm Bee Client. View at docs.ethswarm.org, contributions welcome!
Stars: ✭ 35 (+75%)
Mutual labels:  swarm
dapps.earth
Source code for dapps.earth: IPFS and Swarm gateway
Stars: ✭ 12 (-40%)
Mutual labels:  swarm
multi uav simulator
A quadrotor swarm simulator based on ROS (Robot Operating System).
Stars: ✭ 73 (+265%)
Mutual labels:  swarm
traefik-cluster-ecs
This is a tutorial on how to deploy a Traefik Load Balancer in AWS using CloudFormation to load balancer development ECS tasks using hosts (FQDN).
Stars: ✭ 62 (+210%)
Mutual labels:  cluster
PyScholar
A 'supervised' parser for Google Scholar
Stars: ✭ 74 (+270%)
Mutual labels:  cluster
Common
SQL FineBuild provides 1-click install and best-practice configuration on Windows of SQL Server 2019 through to SQL Server 2005
Stars: ✭ 32 (+60%)
Mutual labels:  cluster
ClusterWS-Client-Swift
☄️ Swift Client for ClusterWS - lightweight, fast and powerful framework for building scalable WebSockets applications in Node.js.
Stars: ✭ 20 (+0%)
Mutual labels:  cluster
microservices-with-docker
Building a microservice system with Docker (Swarm & Kubernetes)
Stars: ✭ 19 (-5%)
Mutual labels:  swarm
nixos-raspberry-pi-cluster
A user-guide to create a Raspberry Pi (3B+, 4) cluster under NixOS and managed by NixOps
Stars: ✭ 69 (+245%)
Mutual labels:  cluster
traefik-ondemand-service
Traefik ondemand service for the traefik ondemand plugin
Stars: ✭ 35 (+75%)
Mutual labels:  swarm
kafka cluster example
🪲 kafka cluster example
Stars: ✭ 42 (+110%)
Mutual labels:  cluster
rbac-tool
Rapid7 | insightCloudSec | Kubernetes RBAC Power Toys - Visualize, Analyze, Generate & Query
Stars: ✭ 546 (+2630%)
Mutual labels:  cluster

Docker System Prune

Executes the docker system prune command to allow automatize its execution.

Usage

This image allows you to program automatically when a prune will be done in your hosts.

The main advantage over external solutions like a cron job is that you can launch it in a cluster easily: "fire & forget"

For example in a Swarm mode cluster:

docker \
  service create --name docker-system-prune \
    --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
    --mode global \
    --restart-delay 86400s \
    --restart-max-attempts 3650 \
    softonic/docker-system-prune 

This launches the "prune" command in all the nodes in the cluster once a day, more or less, during 10 years.

By default it launches the service with the parameters --force and --all, but you can change these if you like just adding then when defining the service. For example:

 docker \
   service create --name docker-system-prune \
     --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
     --mode global \
     --restart-delay 86400s \
     --restart-max-attempts 3650 \
     softonic/docker-system-prune \
     --volumes --all

!!! info You need to mount the docker socket to allow the command to be executed in the host.

Requirements

As it executes the docker system prune command this can work only in nodes with Docker versions >=1.13

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].