Войти
  • 10155Просмотров
  • 10 месяцев назадОпубликованоTiny Technical Tutorials

What Are Containers? Docker Basics Explained for Absolute Beginners | Step-by-Step Tutorial

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*** 🌟 • file (main file of Python app): • Dockerfile used in the video: • Download Docker Desktop: • Details of what can go in a Dockerfile: • Docker Hub: 🌟***OTHER VIDEOS YOU MIGHT ENJOY***🌟 • Containers in AWS: 🌟***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