1
curl -sSL https://get.docker.com | sh

https://www.raspberrypi.org/blog/docker-comes-to-raspberry-pi/