#!/bin/bash rep="guacamole" apt-get update apt-get install -y curl wget vim if ! which docker ; then curl -s -o getdocker.sh https://get.docker.com bash getdocker.sh gpasswd -a vagrant docker fi [[ -e "$rep" ]] || mkdir "$rep" cd "$rep" || exit 1 cat > docker-compose.yml < initdb/initdb-1.sql < initdb/initdb-2.sql docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --mysql >> initdb/initdb-2.sql docker compose up -d