Last active
March 10, 2016 18:35
-
-
Save jnoller/b8a766c2460e39910360 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
carina create --wait ucp | |
carina credentials ucp | |
eval "$(carina env ucp)" | |
UCP_ADMIN_USER='admin' | |
read -s -p "Enter your password and press [ENTER]: ": password | |
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock \ | |
-e UCP_ADMIN_USER=$UCP_ADMIN_USER -e UCP_ADMIN_PASSWORD=$password \ | |
--name ucp docker/ucp install --swarm-port 2377 --fresh-install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment