xoxys.docker_tidy/index.md
Robert Kaussow 3159d7b107 commit 704fcc00fd
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Mon May 25 23:01:26 2020 +0200

    fix downstream repo
2020-05-25 21:26:34 +00:00

2.7 KiB

title type
docker_tidy docs

Source Code Build Status License: MIT

Setup docker-tidy garbage collector. Keep docker hosts small.


Default Variables

dockertidy_dangling_volumes

Remove dangling volumes.

Default value

dockertidy_dangling_volumes: false

dockertidy_docker_socket_path

Default value

dockertidy_docker_socket_path: /var/run/docker.sock

dockertidy_dry_run

Only log actions, don't cleanup anything.

Default value

dockertidy_dry_run: false

dockertidy_exclude_container_label

Never remove containers with this label key or label key=value.

dockertidy_exclude_container_labels

Default value

dockertidy_exclude_container_labels: []

dockertidy_exclude_image

Never remove images with this tag.

dockertidy_exclude_images

Default value

dockertidy_exclude_images: []

dockertidy_image

Docker image to use.

Default value

dockertidy_image: xoxys/docker-tidy:latest

dockertidy_interval

Interval for the systemd timer.

Default value

dockertidy_interval: daily

dockertidy_log_level

Current log level.

Default value

dockertidy_log_level: warning

dockertidy_max_container_age

Maximum age for a container, containers older than this age will be removed.

Default value

dockertidy_max_container_age: 5 days ago

dockertidy_max_image_age

Maxium age for an image, images older than this age will be removed.

Default value

dockertidy_max_image_age: 3 days ago

Dependencies

None.