Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
inventivejon committed Jun 20, 2019
1 parent 872c1f0 commit 07a8d42
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# local_docker_swarm_registry
Docker Registry for use in docker-swarm with nginx as proxy to only allow from server_name localhost and deny all other

Before you start:
Replace in docker-compose.yml file <YourUsername> wit a username and <YourPassword> with a password. You will not need it in operation. It is only for internal security.

You can use it by calling the script StartRegistry.sh

>> sudo ./StartRegistry.sh
Expand All @@ -14,6 +11,14 @@ You can stop it by calling StopRegistry.sh
You can call and use the registry from all connected docker swarm nodes from the docker swarm you deployed to.

>> curl 127.0.0.1:5001/v2/_catalog
>> curl 127.0.0.1:5000/v2/_catalog
and PLEASE don't use localhost instead. Will not work.

Example for docker push:
>> docker push 127.0.0.1:5000/simpledreamer_sb_frontend
If you find any issues please report.

Known limitations:
- [swarmpit] Cannot manage registry from swarmpit since swarmpit would try to connect from other container with has its own localhost. Changing the swarmpit container to host network would solve but then the container would not be accessible any more by swarmpit webpage. If anyone has an idea how to solve feel free to contribute. For anyone who don't need managin the registry over swarmpit should be fine.

0 comments on commit 07a8d42

Please sign in to comment.