Tech Junkie Blog - Real World Tutorials, Happy Coding!: Docker : Adding Docker Repository Key and Updating Docker To Get The Latest Version

Friday, September 10, 2021

Docker : Adding Docker Repository Key and Updating Docker To Get The Latest Version

In the previous post we installed Docker on our Ubuntu server.  Now we are going to add the Docker repository to our local server so that we can get the latest version of Docker.



Step-By-Step Instructions:

  1. Open the terminal command line tool and switch to root user with the sudo su command








2. Now we have to add the Docker repo key to our local machine by typing the following command
wget -qO- https://get.docker.com/gpg | apt-key add -











3. The next command is to add the Docker repository to the Ubuntu repository source list.  Type the following command into the terminal:
echo deb http://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list








4.  Now type apt-get update to get the latest updates from the Docker repository.  If you haven't ran update for a while.  This might take a while.

5.  After the update has completed type docker -v to the version number










Posts On Dockers


1 comment:

  1. My name is Upan, I have more than 3 years of experience in Shopify dropshipping store development and products listing. I help my clients to boost their sales by importing the best product reviews for their products.

    Will you import reviews from aliexpress to shopify?
    Order Link: https://www.fiverr.com/share/XmW1Em

    ReplyDelete

Search This Blog