We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37afacb commit 4bad313Copy full SHA for 4bad313
scripts/self-hosted/install-agent.sh
@@ -121,6 +121,12 @@ if [ -z "$SKIP_CORE_INSTALL" ]; then
121
iptables -I DOCKER-USER -p tcp -s 127.0.0.1 --dport 2019 -j ACCEPT
122
iptables -I DOCKER-USER -p tcp --dport 2019 -j REJECT --reject-with tcp-reset
123
124
+ # Allow access to internal Docker Registry port
125
+ # Docker Registry will be available at registry.ptah.local:5050 on the overlay ptah_net network
126
+ iptables -I DOCKER-USER -p tcp -s 127.0.0.1 --dport 5050 -j ACCEPT
127
+ iptables -I DOCKER-USER -p tcp --dport 5050 -j REJECT --reject-with tcp-reset
128
+ echo '127.0.0.1 registry.ptah.local' >> /etc/hosts
129
+
130
netfilter-persistent save
131
132
rm -f /tmp/ptah-agent
0 commit comments