You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Da (Derek) Kuang edited this page May 17, 2021
·
6 revisions
Welcome to the docker-env wiki!
This document aims to explain the design and implementation of the docker environment.
Docker Image
This image is built from Docker Official Images. It is a minimal install of Ubuntu, so it only includes very limited packages by default. man page, git, and Python need to be installed separately. Moreover, by default, the image only has one root account, so a cit595 user is added to the image.
Usage
Preparations
Install Docker Desktop (version 3.0+)
For Windows, we recommend setting up WSL2.
Download this repository
Copy Dockerfile, docker-compose.yml, docker-setup.sh to your course projects folder.
First-time Setup
Run docker-compose build mcit. This will build the docker image whose /vagrant folder will be in sync with your current folder (course project folder)
Run docker-compose run mcit bash. You should now be inside your docker image, with the current folder at /vagrant.
Run ls to make sure that docker-setup.sh is here.
All Future Log-ins
Just open your course projects folder, and run docker-compose run mcit bash.