Docker Crest

by mbeach
33 deployments · 14 still active · last rev. 11 months ago

Deploy Docker container(s)

Compatible with: CentOS 7, Debian 8, Debian 9, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS

#<UDF name="PUBKEY" Label="SSH pubkey (installed for root and sudo user)?" example="ssh-rsa ..." />
#<UDF name="RESOURCE"  Label="Resource to download?" example="URL to Dockerfile or docker-compose.yml" default="" />
#<UDF name="RUNCMD" Label="Command to run?" example="docker run --name spigot --restart unless-stopped -e JVM_OPTS=-Xmx4096M -p 25565:25565 -itd mb101/docker-spigot" default="docker-compose up" />
#<UDF name="SKIP" Label="Skip updates and server hardening?" example="Not recommended for production deployments" oneOf="no,yes" default="no" />

while [[ $X != "200" ]]; do 
  echo -n "Trying to download script... "
  X=$(curl -o -sw "%{http_code}" -L
  echo $X
sleep 2

. ./