mozmeao / ee-infra-jenkins

Ansible playbook to install JenkinsCI. Used by Engagement Engineering
7 stars 10 forks source link

Use explicit tag to ensure deis v1 compatible registry image #11

Closed jgmize closed 8 years ago

jgmize commented 8 years ago

The deis v1 registry is based on an https://github.com/docker/docker-registry, which is not compatible with https://github.com/docker/distribution which is a rewrite. The supervisord templates do not currently use an explicit tag, so they use the implicit "latest" tag. This was not an issue as the image that was originally pulled was compatible, but over the weekend both of the supervised registry images crashed and were not automatically restarted, and then the nightly docker cleanup cron job that runs remove-docker-images.sh deleted that image as it was no longer in use, so when I restarted supervisord to restart the registries it pulled the latest, incompatible, registry image.