forked from joshmhanson/docker-env
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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.
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.
- 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.
- 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 thatdocker-setup.sh
is here.
Just open your course projects folder, and run docker-compose run mcit bash
.