-
Notifications
You must be signed in to change notification settings - Fork 28
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
add registry to amp with HAProxy reverse proxy #155
Conversation
Tested and working |
Failing on docker for mac in service mode, working in run mode. |
Failing on docker for mac in service mode, using localhost:500/imagename, working on 127.0.0.1:5000/imagename |
As noted, issues with OS X require using |
* add registry * update haproxy * update image list * update registry volume * add amp command: push * add persistence to registry * minor format update
Add registry as a service
Test:
./swarm pull
sudo ./swarm start
docker pull alpine
docker tag alpine localhost:5000/alpine
docker push localhost:5000/alpine
image is pushed in the amp registry going through HAProxy
docker pull localhost:5000/alpine
,having this console message: Image is up to date for localhost:5000/alpline:latestmake install
(rm -rf vendor and glide install, if needed)amp push localhost:5000/alpine
-> push the image using amp command