How I setup Docker
I have used an Ansible role, but here are the steps
tasks from Ansible
- install the below
- apt-transport-https
- ca-certificates
- curl
- gnupg2
- software-properties-common
- libssl-dev
- python-cffi
- python-cffi-backend
- python3-cffi-backend
- python3-pip
- libffi-dev
- python3-nacl
- add the PGP key
https://download.docker.com/linux/debian/gpg
- setup the repo
deb [arch=arm] https://download.docker.com/linux/debian stretch stable
- install docker
apt-get update
apt-get install docker-ce docker-compose
- start docker
- update docker-compose
pip3 install --upgrade docker-compose==1.25.0