Learning check assignments for CMSC740. The assignments are in Jupyter Lab notebooks, and we are using Docker to setup the environment.
Skip this section if you already have a Docker host.
- Instructions and requirements: https://docs.docker.com/install/
- Hint: you don't need a Docker Hub account. Everything still works.
- For Windows users, Docker requires Windows 10 with Hyper-V enabled.
Note: on Windows, Docker conflicts with VirtualBox and VMware. If you use them, try VM import
as described below.
On the (physical or virtual) machine where you installed Docker, do the following:
-
If you don't have
git
installed, get it here: https://git-scm.com/downloads -
Clone this repository with
git clone https://github.com/mzwicker/CMSC740-geometry-processing.git
. Skip this step if you usedVM Import
(see below), it's already cloned in/home/cmsc740
. -
On Windows, browse to
CMSC740-geometry-processing
and runrun.bat
. During the first run, Docker will prompt you to allow sharing the directory.On Linux and macOS, run
run.sh
(in a terminal).A huge Docker image is downloaded during the first run (about 5GB).
-
If Jupyter Lab starts successfully, visit http://localhost:8888 in a browser. The access token is
123456
. -
Complete the learning check for a course session in the corresponding folder you see in Jupyter Lab. Submit your Jupyter Lab Notebook file to ELMS/Canvas.
Notes (optional):
- If you're running Docker inside a VM, it can be clumsy working with the browser inside the VM. You may want to setup Port Forwarding (VirtualBox, VMware).
- (Optional) Normally, you don't need this. But if you encounter file permission problems, try granting write permissions.
-
Windows: go to folder properties, then select the "Security" tab, and allow the "Users" group "Full control".
-
Linux and macOS: TBD (we haven't encountered it during test runs)
-
If you encounter any issue, feel free to post on Piazza. We'll update these instructions based on your feedback.
This is the default fallback if you can't / prefer not to install Docker locally.
If you use VirtualBox or VMware, you can import a VM image prepared by us. It runs Ubuntu and has all required software installed, and docker image pulled. The repository has also been cloned in home.
To import to VirtualBox: File | Import Appliance. After importing, modify settings: open Settings, and select Display. Make sure that Video Memory is 128MB and Graphics Controller is VBoxSVGA
. Do not use VMSVGA. Do not enable 3D acceleration
To import to VMware: File | Open. When an error occurs, click "Retry".
The appliance is about 7GB, and the imported VM is about 15GB.
- Download it from Google Drive, and import it.
- The user is
cmsc740
and password is123456
.
If you choose this method, we assume that you're a Power User and know what to do.
Create a VM with your favorite Linux distribution (Ubuntu, CentOS, etc.) and install Docker as in Local install
. Also, install git
.