#!/bin/bash
#
#	Log into the Docker Container
#
dir=`dirname $0`
cd $dir

# Check we are on a Mac
uname=`uname`
if [ "${uname}" != "Darwin" ] ; then
	echo ""
	echo "This command can only be used on OSX"
	echo ""
	exit 1
fi

# Login to the container using SSH
exec open http://{{&DOCKER_HOST}}:{{&CONTAINER_HTTP_PORT}}/ttsvr/n/Home/ttdemo-1