How to Install Docker in Ubuntu 21.04 Using DEB Packages | Part - 3 Method - 3

Опубликовано: 01 Ноябрь 2024
на канале: Learn Computer Technologies
2,141
19

You can install Docker Engine in different ways. Here we will learn the four methods of installation of Docker in Ubuntu 21.04
Method – 1: Installation of Docker Using Official Repository. This is the recommended approach.
Method – 2: Installation of Docker Using Ubuntu OS Default Repositories apt.
Method – 3: Installation of Docker Using a .deb Package from Docker Official Website This method is the recommended when no internet available.
Method – 4: Installation of Docker Using Convenience Script.

Package download Link:-
https://download.docker.com/linux/ubu...

commands used in this video for your reference. You can copy from here.
$ sudo apt-get update
$ sudo dpkg -i containerd.io_1.4.9-1_amd64.deb
$ sudo dpkg -i docker-ce_20.10.8~3-0~ubuntu-hirsute_amd64.deb
$ sudo dpkg -i docker-ce-cli_20.10.8~3-0~ubuntu-hirsute_amd64.deb
$ sudo dpkg -i docker-ce-rootless-extras_20.10.8~3-0~ubuntu-hirsute_amd64.deb
$ sudo dpkg -i docker-scan-plugin_0.8.0~ubuntu-hirsute_amd64.deb
$ docker ps
$ docker pull pihole/pihole
$ docker container run -d -i -t -p 80:80 --rm pihole/pihole
$ docker container stop [Paste your container ID here.]

Part 3 Method - 1 - Link:    • How to Install Docker in Ubuntu 21.04...  
Part 3 Method - 2 - Link:    • How to Install Docker in Ubuntu 21.04...  
Part 3 Method - 3 - Link:    • How to Install Docker in Ubuntu 21.04...  
Part 3 Method - 4 - Link:    • How to Install Docker in Ubuntu 21.04...  

#Docker #Dockerinstallation #containers #virtualization