Created
March 22, 2018 04:40
-
-
Save leanderjanssen/d72d33a6f116838353eac7cc02d4a30e to your computer and use it in GitHub Desktop.
install-ucp.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | |
docker container run -it --rm --name ucp \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
docker/ucp:2.2.6 install \ | |
--swarm-port 3376 \ | |
--admin-username admin \ | |
--admin-password adminadmin \ | |
--san ${UCP_IP} \ | |
--san ${UCP_FQDN} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment