joshmhanson / docker-env

A dockerized development environment for MCIT-595

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker-env

Note: This project is in alpha stage, meaning that it is usable, but will be going through constant updates.

Usage

Preparations

  1. Install Docker Desktop (version 3.0+)
    • For Windows, we recommend setting up WSL2.
  2. Download this repository
  3. Copy Dockerfile, docker-compose.yml, docker-setup.sh to your course projects folder.

First-time Setup

  1. 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)
  2. Run docker-compose run mcit bash. You should now be inside your docker image, with current folder at /vagrant.
  3. 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.

Known Issues

  • Cannot have multiple terminal windows access the same running image. For multiple bash, you need to use tmux inside the docker image.

Roadmap (for TAs)

  • encapsulate docker-setup.sh in Dockerfile
  • Pack this into a custom MCIT-595 image and host on dockerhub

Resources

About

A dockerized development environment for MCIT-595


Languages

Language:Shell 88.5%Language:Dockerfile 11.5%