Docker Ce on Raspberry pi

apt update
apt install -y \
 apt-transport-https \
 ca-certificates \
 curl \
 gnupg2 \
 software-properties-common

# Get the Docker signing key for packages

curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add -

# Add the Docker official repos

echo "deb [arch=armhf] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
   $(lsb_release -cs) stable" | \
   tee /etc/apt/sources.list.d/docker.list

# Install Docker
# The aufs package, part of the “recommended” packages, won't install on Buster just yet, because of missing pre-compiled kernel modules.
# We can work around that issue by using “–no-install-recommends”

apt update
apt install -y --no-install-recommends \
  docker-ce \
  cgroupfs-mount
  
systemctl enable docker
systemctl start docker