User Tools

Site Tools


raspberrypi:docker-ce

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
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
raspberrypi/docker-ce.txt · Last modified: 2024/11/10 08:01 by 127.0.0.1