Skip to content

Getting Started Guide

kashu21 edited this page Jun 21, 2020 · 8 revisions

Welcome to the clustering-with-docker wiki!

Steps to be followed

  1. Set up the Docker Repository

Update the apt package index.

$ sudo apt-get update

Install packages to allow apt to use a repository over HTTPS:

$ sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common

Add Docker’s official GPG key:

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

command to set up the stable repository:

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

  1. Install Docker Engine-Community

Update the apt package index.

$ sudo apt-get update

Install the latest version of Docker Engine - Community and containerd.

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

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

$ sudo docker run hello-world

To use Docker as a non-root user:

$ sudo usermod -aG docker username

Clone this wiki locally