This course is an introductory course to Docker and docker-compose. The course will also look into what different parts web services consist of, such as reverse proxies, databases, etc. Docker can not be installed on faculty computers, so students will need to use their computers to follow the examples outlined in this course material and to complete the exercises.
Attendees need to have computers with admin/superuser privileges. Attendees are also expected to have a general understanding of software development and experience with a CLI of their choice.
The course material is meant to be read sequentially, part by part, from start to finish. To get a passing grade you have to complete each exercise, although one exercise can be skipped for each part. Some of the exercises are marked as mandatory and those can not be skipped. The exercises are placed in the material in such a way that you will have learned the necessary skills from the material prior to each given exercise. You can do the exercises as you’re going through the material.
The course material is written for Ubuntu, so some instructions may lack platform-specific details. Please make a pull request to the course material in case you find any mistakes or wish to add something. You can also contribute through GitHub in case you find any issues with the course material.
The course is composed of 4 parts, first of which is part 0 and contains the pre-requisites for all the upcoming exercises. The parts should take 5-25 hours each to complete.
Here are additional instructions for the end of the course: completion
Passing this course requires you to do the exercises for each part. This means every exercise, except one for each part. Some of the exercises are mandatory and can not be skipped. This course is worth 1-3 credits depending on the completed parts. Completing part 1 gives you 1 credit. Completing parts 1 and 2 is worth 2 credits. Completing all of the parts will grant you 3 credits.
Can explain what images and containers are and how they’re related. Can build images with Docker for existing projects and run them.
Can manage complex multi-container applications with docker-compose.
Can optimize images sizes and security for production. Knows why docker-compose is not an optimal production solution and what is.
Course has multiple pages
As we’re trying to make the course as accessible as possible, the course has multiple pages: Courses page, Mooc and GitHub page. Everything is found here in this page, and if something is missing or unclear after reading this page only then please contact email@example.com or get in touch through Telegram.
Slides for an old starting lecture can be found here, but it shouldn’t contain anything that’s not in the course material.
This course has a Telegram group where we discuss everything about the course. Support is available almost 24/7, with the discussion being in both English and Finnish.
Join our telegram group here.
All inappropriate, degrading or discriminating comments on the channel are prohibited and will lead to action taken against the commenter.
Use the official documentation to find download instructions for docker-ce for the platform of your choice:
Confirm that Docker installed correctly by opening a terminal and running
docker -v to see the installed version.
TIP: Windows 10 Home does not support Hyper-V. I recommend installing another OS such as Ubuntu. Remember to back up everything. Instructions for dual boot here
During the writing of these materials, both macOS and Windows have docker-compose included in their respective Docker packages.
Use the official documentation to find download instructions for docker-compose for the platform of your choice:
Confirm that docker-compose installed correctly by opening a terminal and running
docker-compose -v to see the installed docker-compose version.
TIP: To avoid writing sudos you may consider adding yourself to docker group
Before part 1
Read the exercise guide over here
Please read about contributing