There is a point to this story, but it has temporarily escaped my mind...
Contact Me MyFaceBook MyLinkedIn MyGitHub MyTwitter

Install Docker Host

First, make sure that all of the latest patches are installed.

sudo apt update
sudo apt dist-upgrade
sudo reboot

Add Docker's GPG key that they use to sign the packages and repository:

wget -qO - https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
 
cat > /tmp/docker.list << EOF
deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable
EOF
 
sudo mv /tmp/docker.list /etc/apt/sources.list.d/
 
sudo apt update

Install Docker

sudo apt install docker-ce -y

Verify Docker installed correctly:

sudo docker run hello-world

Use the below command to add additional users to the docker group but at a minimum, you should configure your user account to be able to execute docker commands:

sudo usermod -aG docker $USER

Configure Docker to start on boot:

sudo systemctl enable docker
Copyright © 2022 by Julian Easterling. SOME RIGHTS RESERVED.
Privacy Policy              Terms of Use             


Creative Commons License
Except where otherwise noted, content on this site is
licensed under a Creative Common Attribution-Share Alike 4.0 International License.


All of the opinions expressed on this website are those of Julian Easterling and
do not represent the views of any of my current and previous clients or employers in any way.

If you notice an error on the site or content that has not been properly attributed, bring
it to my attention using the contact page and I will endeavor to fix it as soon as I can.

I accept no responsibility or liability for any damages incurred by following any of
my advice or by using any of the information on my site or of those sites that I link to.