Docker is a tool to containerize applications. This means that applications run in a docker container live in their own subsystem (container) and have no impact on your host os (Windows e.g.). This allows you to experiment within your docker container as you wish without ever having to fear to break your computer.
run $ sudo ./ubuntu.sh install
Download the newest Version of Docker Hub and follow the install instructions given there.
Get the boot2docker image as well as VMWare or VirtualBox. Create a new Wirtual Machine and boot from the boot2docker image.
Download the newest Version of Docker Hub and follow the install instructions given there.
docker provides a cli with a lot of functionality but if you only want to run ug4, you just need the following two
- $ docker pull <image>downloads the given image from Docker Hub
- $ docker run <image>starts a container from the given image, usefull options:- --rmdeletes the container once you stop it
- -itstarts an interactive shell within the container and enters it
- --cpusruns the container on a given amount of cpus
- -ddetaches the container
- -mset a memory limit for the container
- -vmount a volume to the container
- -wset the workspace for the container
 
Start Docker on your machine, build the Dockerfile with e.g. $ docker build -t ugshell and run the image with e.g. $ docker run --rm -it --cpu 2 -w $HOME/ug_scripts ugshell. You then can access the ugshell as normal.