NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

...

Step 1 - Install Docker and Docker-Compose

Before we do any github cloning we need to clone GitHub, we must install docker and docker-compose. First docker: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 pageFollow the Docker installation instructions to install on Ubuntu.

Docker

So The following are the commands for a basic installation this is what I ran in order:of Docker on Ubuntu.

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 \
    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 This creates the following screenresult.

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

Docker-Compose

Next Check to see if docker-compose . In is installed from the terminal on your new VM check to see if docker-compose is installed. If not which it is not for me then we need to install it. While it seems a ‘sudo virtual machine. If not, rather than use sudo apt install docker-compose’ should workcompose, the  the CodaLab documentation from link “Configure CodaLab from scratch (harder documentation)” says  says to go here and install it from dockers Docker's website. The command I’m actually running is this:Use the following command.

Code Block
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose


Now we have to change the permissions in /usr/local/bin/docker-compose to use itdocker-compose:

Code Block
sudo chmod +x /usr/local/bin/docker-compose


Now if we run ‘docker-compose’, we should get the options list telling Run docker-compose in the terminal window. The options list appears that tells us how to use this command verifying it . This verifies that docker-compose is installed and we can ready to use it.

Step 2 - Get the Source Code

...