Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save leanderjanssen/c676ba67e9b642ca4bf31d92353e3471 to your computer and use it in GitHub Desktop.
Save leanderjanssen/c676ba67e9b642ca4bf31d92353e3471 to your computer and use it in GitHub Desktop.
install-dtr.md
UCP_IP=$(curl -s http://169.254.169.254/latest/meta-data/public-ipv4)
UCP_FQDN=$(curl -s http://169.254.169.254/latest/meta-data/public-hostname)
DTR_FQDN=${UCP_FQDN}
docker run -it --rm docker/dtr:2.5.0 install \
--ucp-node ucp-manager-0 \
--ucp-username admin \
--ucp-password adminadmin \
--ucp-url https://${UCP_IP} \
--ucp-insecure-tls \
--replica-https-port 4443 \
--replica-http-port 81 \
--dtr-external-url https://${DTR_FQDN}:4443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment