Skip to content

Instantly share code, notes, and snippets.

View zalexki's full-sized avatar
🏠
Working from home

Alex. H. zalexki

🏠
Working from home
  • Cityscoot
  • Paris, France
View GitHub Profile
#!/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;}' | \
@zalexki
zalexki / docker-https.md
Last active October 23, 2020 10:06
Docker Apache2.4 HTTPS

Open port 443 on container, with a docker-compose file just add :

ports:
  - 443:443

Add virtualhost config :

Listen 443 https