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
In order to confirm that Docker has been installed correctly, run:
docker --version
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
In order to log in to this user, you can simply run:
su oasis_api_server
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