You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker Registry for use in docker-swarm with nginx as proxy to only allow from server_name localhost and deny all other
3
3
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
-
7
4
You can use it by calling the script StartRegistry.sh
8
5
9
6
>> sudo ./StartRegistry.sh
@@ -14,6 +11,14 @@ You can stop it by calling StopRegistry.sh
14
11
15
12
You can call and use the registry from all connected docker swarm nodes from the docker swarm you deployed to.
16
13
17
-
>> curl 127.0.0.1:5001/v2/_catalog
14
+
>> curl 127.0.0.1:5000/v2/_catalog
18
15
19
16
and PLEASE don't use localhost instead. Will not work.
-[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