Docker Tutorial for Beginners | Install and Learn Docker in 20minutes! Docker Ubuntu @tanzTalkstech
Docker Tutorial for Beginners | Install and Learn Docker in 20minutes! Docker Ubuntu  @tanzTalkstech
Uploaded June 2023 | Updated September 2026, 2 weeks ago
Liked my video? 👍Buy me a cup of coffee! 🍵
youtube.com/channel/UCMz232hZ7fD75uGWhuLNjtA/join

00:00:45 Installing Docker from the Default Ubuntu Repository (providing a simpler installation)
a: Update the Repository
sudo apt update

b: Install Docker
sudo apt install docker.io -y

c: Install Dependencies
sudo snap install docker

d: Check Installation
sudo systemctl status docker
docker --version

00:04:30 Remove Docker:
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done

00:05:00 Installing Docker from the Official Docker Repository (ensuring the latest Docker version)
a: Update the Package Repository
sudo apt update

b: Install Prerequisite Packages
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y

c: Add GPG Key
curl -fsSL download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

d: Add Docker Repository
sudo add-apt-repository "deb [arch=amd64] download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

e: Specify Installation Source
apt-cache policy docker-ce

f: Install Docker
sudo apt install docker-ce -y

g: Check Installation
sudo systemctl status docker
docker --version

--------


00:08:40 How to Work With Docker

00:09:25 Working With Docker Images
Docker images are the base for building Docker containers. The images are located on Docker Hub, which is a Docker repository. The repository allows all users to host their images on Docker hub, resulting in many images to choose from, including applications and Linux distributions.

Search for Docker Images
Search for available images on Docker Hub using the docker search command.
sudo docker search [keyword]

Pull a Docker Image
sudo docker pull [image-name]

See Downloaded Images
sudo docker images

--------

00:12:05 Working With Docker Containers
A Docker container is an isolated virtual environment created from a Docker image. Use an image you previously downloaded or specify its name in the docker run command to automatically download the image and create a container.

Run a Docker Container
sudo docker run [image-name]

Note: To obtain interactive shell access to the container, specify the -i and -t switches.

View Docker Containers
An active Docker container is a container that is currently running. Listing containers is useful as it outputs the unique ID and name required when starting, stopping, or removing a container.
sudo docker ps

Note: To list all containers, including the inactive ones, add the -a flag.

Start a Docker Container
sudo docker start [container-ID | container-name]

Stop a Docker Container
sudo docker stop [container-ID | container-name]

Remove a Docker Container
sudo docker rm [container-ID | container-name]

--------

00:19:40 Working With Docker Volumes
A Docker volume is a filesystem mechanism allowing users to preserve data generated and used by Docker containers. The volumes ensure data persistence and provide a better alternative to persisting data in a container's writable layer because they don't increase the Docker container size.

Create a Docker Volume
sudo docker volume create [volume_name]

Remove a Docker Volume
sudo docker volume rm [volume_name]

--------

Ubuntu Tutorials: youtube.com/playlist?list=PLnisUReSm0-nc0N5IlO0QoJd78oBhlHoX

Bash Shell Scripting Tutorial: youtube.com/playlist?list=PLnisUReSm0-n4vwT7Dzjhw5Vjz32clx6N

Install Android Studio on Ubuntu 22.04 LTS | Android Studio on Ubuntu 22.04 LTS: youtu.be/hEdpm1PfvvM
Install Ubuntu on Windows 11 (WSL) | Windows Subsystem for Linux with GUI Support: youtu.be/NXJjutYp4x8
Reset Forgotten Ubuntu Linux Password on WSL | Debian, Kali, Linux Password Reset on WSL | Windows 11: youtu.be/oeXuxqR60Ns
Install Vim (Vi Improved) Text Editor on Ubuntu | Debian Linux: youtu.be/zr17y9YHopQ
Edit Hosts file in Ubuntu | How to Block Websites in Linux using /etc/hosts file: youtu.be/z6RxqJzLaQY

--------

More Tutorials for VMWare Workstation Player:
youtube.com/playlist?list=PLnisUReSm0-ncHac3_ZAsE5g7nWy88Qta

Install Microsoft Windows 11 on VMware Player: youtu.be/3HBSuoVOpt0

Install macOS 12 Monterey on VMware Player: youtu.be/WLMTAqZ_3xU

Install macOS 13 Ventura on VMware Player: youtu.be/CeSqdrf1WOg

--------

My Gear:
MSI GL65 Leopard Gaming Laptop
Intel Core i7-10750H 2.6GHz, 10th Gen (6 Cores)
15.6" FHD (1920*1080), IPS-Level 144Hz
16GB DDR4 RAM, 2666Mhz
Nvidia GeForce RTX 2060, 6GB ‎GDDR6
256GB NVMe M.2 SSD + 1TB SATA 7200RPM HDD
Windows 11 Home, 64Bit
HD Webcam (720p at 30 fps)
Per Key RGB SteelSeries Keypad

#Ubuntu #Docker #tanztalkstech2 #tanzTalkstech #tanzeelosama @tanzTalks.tech2 @tanzTalkstech @TanzeelOAnsari
Docker Tutorial for Beginners | Install and Learn Docker in 20minutes! Docker UbuntuHow to Clear or Change Directory or Folder Path in Command Prompt of Windows Computer ?Bash Shell Scripting Tutorial 13 - Date Command | Date Time FormatNight Ride through the Roads of #Lucknow ❤️3 In-depth Review and Exploring all the Features & Settings | TP-Link Tapo C500 Outdoor Wi-Fi CameraHow to Upgrade Ubuntu to Ubuntu 23.04 Lunar Lobster using Graphical User Interface | Using GUIWiFi Not Working on Windows 11 | WiFi Problem in LaptopASP.NET Core MVC Project for Beginners | Student Enrollment with Validation & BootstrapHow to Install Ubuntu 23.04 on VirtualBox in Windows 11 | Ubuntu Lunar LobsterWhat is Virtual Machine? How to Install Ubuntu 23.04 on VMware Workstation Player On Windows 111 Tp-Link Tapo C500 Outdoor Budget Wi-Fi Camera | Home Security Wi-Fi Camera | UnboxingHow to Save a File in Vi/Vim Text Editor & Exit | 3 Ways to Save a File in VimText Editor
tanzTalks.tech |

Docker Tutorial for Beginners | Install and Learn Docker in 20minutes! Docker Ubuntu

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER