Note: This project is in alpha stage, meaning that it is usable, but will be going through constant updates.
- Install Docker Desktop (version 3.0+)
- For Windows, we recommend setting up WSL2.
- Download this repository
- Copy
Dockerfile,docker-compose.yml,docker-setup.shto your course projects folder.
- Run
docker-compose build mcit. This will build the docker image whose/vagrantfolder 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 current folder at/vagrant. - Run
lsto make sure thatdocker-setup.shis here.
Just open your course projects folder, and run docker-compose run mcit bash.
- Cannot have multiple terminal windows access the same running image. For multiple bash, you need to use
tmuxinside the docker image.
- encapsulate docker-setup.sh in Dockerfile
- Pack this into a custom MCIT-595 image and host on dockerhub
- Docker Tutorial for Beginners - A Full DevOps Course on How to Run Applications in Containers is an 1-hour tutorial on Docker and Docker Compose by freeCodeCamp.
- Docker Workshop is a reference manuel I use.