Open port 443 on container, with a docker-compose file just add :
ports:
- 443:443
Add virtualhost config :
Listen 443 https
#!/bin/sh | |
# Usage: | |
# $ docker-show-repo-tags.sh ubuntu centos | |
for Repo in $* ; do | |
curl -s -S "https://registry.hub.docker.com/v2/repositories/library/$Repo/tags/" | \ | |
sed -e 's/,/,\n/g' -e 's/\[/\[\n/g' | \ | |
grep '"name"' | \ | |
awk -F\" '{print $4;}' | \ |
Open port 443 on container, with a docker-compose file just add :
ports:
- 443:443
Add virtualhost config :
Listen 443 https