NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On the right find the button Add inbound port rule. Change Destination port ranges to 80, Protocol to TCP, Priority to 300, and Name to anything you’d like:

Enable HTTP screenImage Added

This will be important later when we deploy the site. Without this you cannot access the site.

...

This link details installing docker for Ubuntu: https://docs.docker.com/install/linux/docker-ce/ubuntu/. For someone not familiar with linux there is a lot going on on that page.

Docker

So for a basic installation this is what I ran in order:

...

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

...


$ sudo apt-get update

...


$ sudo apt-get install

...

 \

    apt-transport-https

...

 \
    ca-certificates

...

    curl \

...

 \
    curl \
    gnupg-agent

...

 \
    software-properties-common

...


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

...


$ sudo apt-key fingerprint 0EBFCD88

...



$ sudo add-apt-repository

...

 \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu

...

 \
   $(lsb_release -cs)

...

 \
   stable"

...


$ sudo apt-get update

...


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

...


$ sudo docker run hello-world

The result shows on the following screen.

Image Added

Now if we run ‘docker’, we should get the options list telling us how to use this command verifying it is installed and we can use it.

...