To get the environment for Hemlock on top of Docker you can either Pull it from the public docker index, or you can build it from source.
Pull from Docker index:
sudo docker pull lab41/hemlock sudo docker tag lab41/hemlock hemlock
Build from source:
git clone https://github.com/Lab41/try41.git cd try41/dockerfiles/hemlock sudo docker build -t hemlock .
Once the image has been built you can either run it as a contained webapp as it's used in Try41, or you can run in a shell.
Run as a webapp:
sudo docker run -d -P hemlock
Run in a shell:
sudo docker run -i -t -P hemlock /bin/bash
NOTE: when running in a shell, you can also execute /src/startup.sh and access the webapp from the exposed port
Find port that was exposed:
sudo docker ps