13 September, 2020

Updating the version of Docker on my primary machine

I noticed that the version of Docker that I am running a little behind the current stable version. I am thinking it is time to update.

After reading the 'Install Docker Engine on Ubuntu' page, I needed to make a few changes to my system.

My first step was to remove the source 'https://download.docker.com/linux/ubuntu disco stable' from sources. It was simple to follow the steps.

Ran the following commands

  • sudo apt-get remove docker docker-engine docker.io containerd runc
    • This made sure that any older versions were removed from my computer.
  • sudo apt-get update
  • sudo apt-get install \
        apt-transport-https \
        ca-certificates \
        curl \
        gnupg-agent \
        software-properties-common
    • This allows apt to use a repository over HTTPS
  • curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    • Added the Docker's GPG key
  • sudo apt-key fingerprint 0EBFCD88
    • Verifies that I have key with the correct fingerprint
  • sudo add-apt-repository \
       "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
       $(lsb_release -cs) \
       stable"
    • setup a the stable repository
  • sudo apt-get update
  • sudo apt-get install docker-ce docker-ce-cli containerd.io
    • installed the latest version of Docker Engine and containerd

No comments:

Challenging myself to learn something new

I have recently set a big challenge for myself. I want to know about Machine Learning . To add to the challenge, I am trying out usin...