Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image on private registries #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

codekoala
Copy link

Building on top of my other pull request, this one addresses the use of images that reside in private registries.

Normally, the image will look like repo/image. In the case of an image on a private registry, the domain/IP (and maybe port) is also included in the image name, looking more like domain.com/repo/image or 1.2.3.4:5678/repo/image.

When your docker-register project places information for these images into etcd, they go into a key that looks like /backends/repo/image/imgid. This change will pull just the last two slash-separated bits of the key, handling both public and private images.

- more flexible shebang
- restart haproxy directly rather than using shell script
- check that haproxy is installed and on the PATH before running
- more docs
- connect to etcd once
- created main() function
- simplified main procedure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant