Docker Installation

NOTE: My Nodes all run on Debian Linux so all my instruction will be for a Linux setup.

Here are the Docker commands if you don’t want to dig through the Docker website .
Just run them in order and you should be good to go.

NOTE: Do not include the “$” when you cut and paste. I’m just showing that this code get’s input at the command prompt

Uninstall any old versions of Docker:

$ sudo apt-get remove docker docker-engine docker.io containerd runc

SET UP THE REPOSITORY
Update the apt package index and install packages to allow apt to use a repository over HTTPS:

$ sudo apt-get update

$ sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common

Add Docker’s official GPG key:

$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

Verify that you now have the key with the fingerprint 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88, by searching for the last 8 characters of the fingerprint.

$ sudo apt-key fingerprint 0EBFCD88

pub   4096R/0EBFCD88 2017-02-22
      Key fingerprint = 9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88
uid                  Docker Release (CE deb) <docker@docker.com>
sub   4096R/F273FCD8 2017-02-22

Use the following command to set up the stable repository.

$ sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable"

INSTALL DOCKER ENGINE

$ sudo apt-get update
 $ sudo apt-get install docker-ce docker-ce-cli containerd.io

Verify that Docker Engine is installed correctly by running the hello-world image.

$ sudo docker run hello-world

It will show you a message the says Docker was successfully installed. If it does you have Docker installed properly. HOORAY!

If you’re ready to install the Presearch Node go here.