-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started Guide
Welcome to the clustering-with-docker wiki!
-
Set up Debian server VMs in Virtualbox.
Steps to be followed
- 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"
- 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