Created
August 5, 2023 20:34
-
-
Save denisdemaisbr/c30a411296b3e7cccd17cf5ab24a7613 to your computer and use it in GitHub Desktop.
how install docker on raspiberry pi 3/3b+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# based on 2023-05-03-raspios-bullseye-arm64-lite.img.xz | |
# | |
su [your password] | |
apt-get update && sudo apt-get upgrade | |
curl -fsSL test.docker.com -o get-docker.sh && sh get-docker.sh | |
usermod -aG docker [user_name] | |
# fix 'memory/swap' error | |
echo "cgroup_enable=memory swapaccount=1 cgroup_memory=1 cgroup_enable=cpuset" >> /boot/cmdline.txt | |
# test | |
docker info | |
docker version | |
docker run hello-world |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment