-
Notifications
You must be signed in to change notification settings - Fork 0
Install Docker
Volodymyr Huz edited this page Nov 23, 2019
·
6 revisions
Install the following prerequisites
sudo apt-get install apt-transport-https ca-certificates software-properties-common -y
Download and install Docker
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
Give the ‘osmc’ user the ability to run Docker
sudo usermod -aG docker osmc
Import Docker CPG key
sudo curl https://download.docker.com/linux/raspbian/gpg
Setup the Docker Repo
sudo nano /etc/apt/sources.list
deb https://download.docker.com/linux/raspbian/ stretch stable
Patch and update your Pi
sudo apt-get update
sudo apt-get dist-upgrade
Start the Docker service
systemctl start docker.service
To verify that Docker is installed and running
sudo docker info
Create master node
docker swarm init