Docker in 40 minutes (Includes Hands-on)

Опубликовано: 10 Октябрь 2024
на канале: JimShapedCoding
12,206
433

#Docker #Containers #DockerTutorial
Docker is one of the most amazing tools that everyone who deals with programming should be familiar with, and this 40-minute video is a great opportunity to get started with it!

What does this video include?
Basic Explanations, what is the difference between a container to the Docker itself?
Docker Installation step-by-step walkthrough on Windows (More Installation guides to come soon on different Operating Systems)
What is Docker Hub?
Writing your First Image
Executing a Container based on a Customized Image
Docker useful commands (Detach mode, showing logs, container actions)

👍 Subscribe for more Tutorials like this!
   / @jimshapedcoding  
🔥 Comment below on other topics you want to see tutorials next on my Channel.
-----------------------------------------------

My website:
http://www.jimshapedcoding.com​

🎥 My YouTube Gear 🎥
Camera (Canon EOS 250D) : https://amzn.to/314euVC
Microphone ( Rode NT-Mini) : https://amzn.to/3bDqEer
Keyboard ( Razer Blackwidow Green Switch ) : https://amzn.to/3bExDnu
Mouse ( Razer LanceHead ) : https://amzn.to/3if0JuV
Lights ( Neewer 2-Pack Dimmable ): https://amzn.to/3oFN1DP



Sites I used Throughout the Video:

Docker Official Documentation - https://docs.docker.com/get-docker/
Chocolatey Installation: https://www.chocolatey.org/install
The site that I downloaded the WSL2 for windows - https://aka.ms/wsl2kernel (Download the WSL2 and Click Next)
Docker Hub (All the official Images) - https://hub.docker.com/

GitHub Repository with the code:
https://github.com/jimdevops19/Docker...


Commands that I copied throughout the Video:

Chocolatey Installation (POWERSHELL AS ADMIN) - Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Refresh environment variables (CMD/POWERSHELL AS ADMIN) refreshenv

Verify Chocolatey Installation (CMD/POWERSHELL AS ADMIN) - choco --version

Install Docker Desktop (CMD/POWERSHELL AS ADMIN) - choco install docker-desktop

WSL2 Set default Version - wsl --set-default-version 2

Install Docker Command line Interface (CMD/POWERSHELL AS ADMIN) - choco install docker-cli

Refresh environment variables (CMD/POWERSHELL AS ADMIN) refreshenv

Verify Docker CLI Installation - (CMD/POWERSHELL AS ADMIN) - docker --version

Enable HyperV feature - Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All



Timeline:
Intro - 00:00 - 00:50
What is a Container - 00:51 - 03:00 (Container vs Docker)
Docker Installation guide - 03:01 - 04:21
Install Docker on Windows - 04:22 - 12:54
The Project we will integrate with Docker - 12:55 - 14:45
Creating your first Dockerfile - 14:46 - 24:20
Building your first Docker Image - 24:21 - 28:19
Library dependencies on Dockerfile (Python example) 28:20 - 32:56
Execute a Container - 32:57 - 34:00
Some of the most useful Docker commands - 34:00 - 39:54