Is production: true
#migrated

Title: How to install docker on Raspberry PI

Created: 19 Mar 2023 Modified: 19 Mar 2023

Description:



[Legacy Link]

[Link]

Instructions

  1. Add repo

    sudo apt-get install apt-transport-https ca-certificates software-properties-common -y
    
  2. Install

    curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
    
  3. Add user to docker group

    sudo usermod -aG docker pi
    
  4. add gpg

    #Download gpg??
    sudo curl https://download.docker.com/linux/raspbian/gpg
    
    #Edit sources.list 
    vim /etc/apt/sources.list
    #Add below repo to the last line
    deb https://download.docker.com/linux/raspbian/ stretch stable
    
  5. update and upgrade

    sudo apt-get update
    sudo apt-get upgrade
    
    #Verify if docker setup
    systemctl start docker.service
    docker info