Skip to content

Commit 07a8d42

Browse files
authored
Update README.md
1 parent 872c1f0 commit 07a8d42

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# local_docker_swarm_registry
22
Docker Registry for use in docker-swarm with nginx as proxy to only allow from server_name localhost and deny all other
33

4-
Before you start:
5-
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.
6-
74
You can use it by calling the script StartRegistry.sh
85

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

17-
>> curl 127.0.0.1:5001/v2/_catalog
14+
>> curl 127.0.0.1:5000/v2/_catalog
1815
1916
and PLEASE don't use localhost instead. Will not work.
17+
18+
Example for docker push:
19+
>> docker push 127.0.0.1:5000/simpledreamer_sb_frontend
20+
21+
If you find any issues please report.
22+
23+
Known limitations:
24+
- [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 commit comments

Comments
 (0)