Skip to main content

3.) Installing Docker

- connect via ssh to your pi

- type in:

sudo apt update

- type in:

sudo apt upgrade

- type in:

curl -sSL https://get.docker.com | sh

- type in:

sudo usermod -aG docker pi

- type in:

sudo apt-get install -y libffi-dev libssl-dev

- type in:

sudo apt-get install -y python3 python3-pip

- type in:

sudo apt-get remove python-configparser

- type in:

sudo pip3 -v install docker-compose

 

I create a main directory for all my docker container config files and appdata.
In my case it is /media/dockerdata

NCPdockerdata.PNG

- type in:

sudo mkdir /media/dockerdata