Skip to content

Commit 872c1f0

Browse files
committed
Removed passwd authentication and fixed issue with docker push
1 parent 0692726 commit 872c1f0

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 inventivejon
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# local_docker_swarm_registry
2+
Docker Registry for use in docker-swarm with nginx as proxy to only allow from server_name localhost and deny all other
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+
You can use it by calling the script StartRegistry.sh
8+
9+
>> sudo ./StartRegistry.sh
10+
11+
You can stop it by calling StopRegistry.sh
12+
13+
>> sudo ./StopRegistry.sh
14+
15+
You can call and use the registry from all connected docker swarm nodes from the docker swarm you deployed to.
16+
17+
>> curl 127.0.0.1:5001/v2/_catalog
18+
19+
and PLEASE don't use localhost instead. Will not work.

0 commit comments

Comments
 (0)