- To install docker, just run
curl -sSL https://get.docker.com | sh
and add the user viasudo usermod -aG docker <user>
orsudo setfacl -m user:$USER:rw /var/run/docker.sock
- At least on 2017-12, on Raspbian Stretch, add to the file
/boot/cmdline.txt
the kernel parametercgroup_memory=1
andcgroup_enable=memory
- At least on 2017-12, on Raspbian Stretch, run
sudo sysctl -w net.ipv4.ip_forward=1
to let docker port forward - Most common images can be found via
docker search arm32v6
ordocker search rpi
- For Docker compose:
sudo apt install -y python-pip
andsudo pip install docker-compose
Last active
March 4, 2020 01:20
-
-
Save lucabelluccini/3864e044cd3e5f4c643afa29672c0b90 to your computer and use it in GitHub Desktop.
RPi notes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment