Clean the Docker Registry by removing untagged repositories https://github.com/ricardobranco777/clean_registry
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112
  1. FROM registry:2
  2. RUN apk --no-cache add python3 python3-dev
  3. RUN pip3 install --no-cache-dir docker pyyaml
  4. COPY clean_registry.py /usr/local/bin/clean_registry.py
  5. RUN python3 -OO -m compileall /usr/local/bin/clean_registry.py
  6. ENTRYPOINT ["/usr/bin/python3", "/usr/local/bin/clean_registry.py"]
  7. CMD []