Installing Docker in docker-container running Ubuntu 20.04

Step #1.) Let’s first check, which version of Ubuntu right now we have :-

Step #2.) Next, let’s update with following commands :-

Step #3.) Next, add Docker’s official GPG key:

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

Step #4.) Next, use the following command to set up the stable repository. To add the nightly or test repository, add the word nightly or test (or both) after the word stable in the commands below. Learn about nightly and test channels.

Step #4.) Next, Install Docker Engine. Update the apt package index, and install the latest version of Docker Engine and containerd :-

Step #6.) Next, test the docker version :-

That’s all in this section. If you liked reading this blog, kindly do press on clap button multiple times, to indicate your appreciation. We would see you in next series.

References :-

--

--

Software Engineer for Big Data distributed systems

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store