Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.71 KB

INSTALL_DOCKER.md

File metadata and controls

52 lines (41 loc) · 1.71 KB

Installing Docker

On Ubuntu

First, install Docker on your machine:

sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce

Source

In order to confirm that Docker has been installed correctly, run:

docker --version

Creating a new user

You should create a new user from which you will run the Docker images. This is not required, but suggested for security reasons.

sudo adduser oasis_api_server

You must then grant this user access to use Docker.

sudo usermod -aG docker oasis_api_server

Source

In order to log in to this user, you can simply run:

su oasis_api_server

On Windows

Download and Install the Stable version of Docker Desktop for Windows from here.
Once it has installed, you must Log out and back in in order for the installation to complete

In order to confirm that Docker has been installed correctly, inside Command Prompt or Powershell run:

docker --version

Source


Back to API installation page