How to install Docker on Ubuntu 18.04 LTS from Package | Docker Offline Installation
In this video we are going to see how to install Docker Engine - Community from binaries on Ubuntu 18.04 LTS
i.e we are going to install Docker CE offline, from Packages downloaded.
Below are the three .DEB packages are downloaded from the docker website.
containerd.io_1.2.6-3_amd64.deb
docker-ce-cli_19.03.1~3-0~ubuntu-bionic_amd64.deb
docker-ce_19.03.1~3-0~ubuntu-bionic_amd64.deb
https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/
To install .deb packages, we should switch to root user.
Once the Docker CE installed, the service starts automatically.
After installation we can test the docker installation by following commands :-
docker pull hello-world -- downloads a test image.
docker run hello-world -- runs the test image and displays welcome message.
By giving permissions to other users in the machine, we can manage Docker as a non-root user.