📄️ Introduction to Part 1
This part introduces containerization with Docker and relevant concepts such as image and volume. By the end of this part you are able to:
📄️ Definitions and basic concepts
What is DevOps?
📄️ Running and stopping containers
Next we will start using a more useful image than hello-world. We can run Ubuntu just with docker run ubuntu.
📄️ In-depth dive into images
Images are the basic building blocks for containers and other images. When you "containerize" an application you work towards creating the image.
📄️ Defining start conditions for the container
Next, we will start moving towards a more meaningful image. yt-dlp is a program that downloads YouTube and Imgur videos. Let's add it to an image - but this time, we will change our process. Instead of our current process where we add things to the Dockerfile and hope it works, let's try another approach. This time we will open up an interactive session and test stuff before "storing" it in our Dockerfile.
📄️ Interacting with the container via volumes and ports
Let us get back to yt-dlp. It works yes, but it is quite laborious to get the downloaded videos to the host machine.
📄️ Utilizing tools from the Registry
As we've already seen it should be possible to containerize almost any project. Since we are in between Dev and Ops let's pretend that some developer teammates of ours did an application with a README that instructs what to install and how to run the application. Now we as the container experts can containerize it in seconds.
📄️ Summary
We started by learning what Docker container and image mean. Basically we started from an empty ubuntu with nothing installed into it. It's also possible to start from something else, but for now ubuntu had been enough.