https://github.com/dodevops/docker-registry-with-cleanup
Builds docker image based on official docker registry with cleanup integrated
https://github.com/dodevops/docker-registry-with-cleanup
Last synced: 9 months ago
JSON representation
Builds docker image based on official docker registry with cleanup integrated
- Host: GitHub
- URL: https://github.com/dodevops/docker-registry-with-cleanup
- Owner: dodevops
- License: mit
- Created: 2022-10-25T11:26:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-21T08:54:18.000Z (over 1 year ago)
- Last Synced: 2025-03-11T16:23:00.523Z (over 1 year ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker registry with cleanup
This docker image uses the [registry docker image](https://hub.docker.com/_/registry) as a base and extends it with
a regular cleanup taken from [here](https://github.com/wshihadeh/docker-registry).
## Configuration
The only configuration option is the `CLEANUP_CRON` environment variable, where the time when the cleanup shall happen
can be defined (in typical cron definiton, like for example `0 0 * * *`, which is also the default and means every day on midnight).
## Usage
Use the image in your docker/compose/kubernetes projects with the address `ghcr.io/dodevops/docker-registry-with-cleanup:main`
for the latest image. Other versions can be found under
[container packages](https://github.com/dodevops/docker-registry-with-cleanup/pkgs/container/docker-registry-with-cleanup)