What Are Containers? Docker Basics Explained for Absolute Beginners | Step-by-Step Tutorial
Tiny Technical Tutorials
@tinytechnicaltutorialsAbout
Welcome to Tiny Technical Tutorials, where we do bite-size tech lessons that are clear and to the point. No rambling, no fluff, just practical hands-on tutorials to help you get stuff done.
Video Description
New to containers and Docker? This beginner-friendly video breaks down the basics, showing you how to build and run your first container using a simple Python app. Learn why containers are important, the difference between virtual machines and containers, and key Docker concepts like Dockerfile, images, and containers. Follow along as we install Docker, explore Docker Hub, and create a Dockerfile to containerize our Python app. By the end, youβll have a solid understanding of Docker and how to get started with containers! π ***RESOURCES AND LINKS USED IN THIS VIDEO*** π β’ app.py file (main file of Python app): https://github.com/tinytechnicaltutorials/containers/blob/main/app.py β’ Dockerfile used in the video: https://github.com/tinytechnicaltutorials/containers/blob/main/Dockerfile β’ Download Docker Desktop: https://docs.docker.com/desktop/ β’ Details of what can go in a Dockerfile: https://docs.docker.com/get-started/docker-concepts/building-images/writing-a-dockerfile/ β’ Docker Hub: https://hub.docker.com/ π***OTHER VIDEOS YOU MIGHT ENJOY***π β’ Containers in AWS: https://youtu.be/NI34uF7VVP8 π***TIMESTAMPS***π 00:00 β This video is for container newbies 00:17 β The sample Python application weβll be using 01:04 β The motivation and need for containers 02:50 β Virtual machines vs. containers β whatβs the difference? 05:56 β Installing Docker on your local machine 06:17 β Testing that Docker is installed properly by running docker run hello-world 06:48 β A brief tour of Docker Hub 08:53 β A real-world analogy for understanding Docker concepts 09:53 β Understanding Dockerfile, images and containers in Docker, plus docker build and docker run 11:14 β Creating a Dockerfile for our sample Python app 13:52 β Creating an image from the Dockerfile by running docker build 14:52 β Where does the Docker image file go after creating it? 16:02 β Exporting or saving Docker image as a .tar file 16:33 β Running a container from a Docker image using docker run
Master Docker with These Essentials
AI-recommended products based on this video



















