#!/usr/bin/env bash DEST="/var/tmp/test_acme-dns" # https://hub.docker.com/r/joohoi/acme-dns/#using-docker # Using Docker # Pull the latest acme-dns Docker image: docker pull joohoi/acme-dns. docker pull joohoi/acme-dns # Create directories: config for the configuration file, and data for the sqlite3 database. mkdir -p $DEST/{config,data} # Copy configuration template to config/config.cfg. # curl -o $DEST/config/config.cfg https://raw.githubusercontent.com/joohoi/acme-dns/master/config.cfg # Modify the config.cfg to suit your needs. conf_print_acme-dns_config() { cat <