Essentials for Docker and Docker Compose for day-to-day DevOps operations.
Docker-DevOps contains resources that capture the essential training to be effective with Docker for DevOps.
Without much jargon, this simple intuitive image captures the "philosophy" of devops.
You learn more about DevOps from this brief introductory article from Atlassian.
Get started with great documentation and guides from the official Docker website.
This repository is primarily for education purposes. All files and resources are submissions in fulfillment of the course + certification, DevOps with Docker offered by the University of Helsinki in partnership with eficode❤. Get 'Docker certified' using the course's website link in this repository's About section.
NB: Review the deadline section in the courses Getting Started to know the final date to submit your work. Submissions outside the end of course date may disqualify your from earning certification.
Part 1: DevOps with Docker: containers, volumes, ports
- Understand the fundamental concepts of Docker, including images and containers.
- Learn how to build Docker images for existing projects and run them.
- Understand how Docker can simplify the development process.
Part 2: DevOps with Docker: docker-compose
- Learn how to manage complex multi-container applications with Docker Compose.
- Understand the role of Docker Compose in container orchestration
- Practice deploying and managing real-world applications using Docker Compose.
Part 3: DevOps with Docker: security and optimization
- Learn how to optimize Docker images for production, including reducing image size and improving security.
- Understand the limitations of using Docker Compose in production environments and the need for more advanced orchestration tools.
- Explore alternative container orchestration solutions, including Kubernetes.
This is a quick introduction to the minimal setup you need to get started with the course and working locally.
- Git
- Docker
- Docker Desktop
- Text editor (Vim, Sublime, Notepad++, etc)
- Internet connection
Follow the installation section in the course's Getting Started page or follow Docker's official guide to install Docker on your target OS. You can verify your docker installation with the following command.
- Verify docker installation
$ docker --version
The output from the above command should be the version of docker installed on your machine.
Currently, this repo has a single branch main
. In the future, a getting-started-template
branch will be provided for future students to get up and running quickly. You can clone this repo with the following command.
- Clone repository
# cd your/desired/target/dir
$ git clone https://github.com/apexDev37/Docker-DevOps.git
$ cd Docker-DevOps
This will clone a copy of the repository to a given location on your local machine and navigate to the repo's root dir.
This section includes a few tips and recommendations to make working locally a breeze.
This is primarily for Windows users. Get a better containerization experience using Window's Subsystem for Linux
WSL2 provides you a Linux environment and kernel all within your Windows environment. Use the links below to set up and install WSL2 and Docker's integration for WSL2 to use Docker in its preferred environment (Linux). Take the course's material better without worrying about quirks associated with Windows.
The links above provide Microsoft's official documentation on how to effectively install WSL2 and Docker to use the containerization platform on both Windows and your preferred Linux distro.
I personally use and highly recommend WSL2 (Windows Subsystem for Linux)❤
This is primarily for Linux users. Generate typescript files and log your terminal sessions to provide proof of work using this CLI tool.
script
makes a typescript of everything on your terminal session. The terminal data is written to the log file in raw
form, and timing information is written to another (optional) structured log file. The timing log file is required to
replay the session later with scriptreplay
and to store extra session information.
Follow this short video tutorial to get started with script
.
For a repository to indeed be open source, you'll need to license it so that others are free to use, change, and distribute the software. This project ensures this using the MIT license. Find the full original text version of the license here. Follow the instructions to apply the right to your repository.