Open menu

How I setup Docker


I have used an Ansible role, but here are the steps

tasks from Ansible

  1. 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
  2. add the PGP key https://download.docker.com/linux/debian/gpg
  3. setup the repo deb [arch=arm] https://download.docker.com/linux/debian stretch stable
  4. install docker
    • apt-get update
    • apt-get install docker-ce docker-compose
  5. start docker
  6. update docker-compose pip3 install --upgrade docker-compose==1.25.0