I just tried this on an updated Raspbian Stretch Lite install (still using Jessie inside the container though). The one gotcha is that apt.dockerproject.org doesn't seem to have a raspbian stretch repo yet, however upstream Debian does and it seems to work. The small changes I made to install.sh were
- Comment-out the code to add the repo, which is these two lines:
sudo apt-key adv --keyserver
hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb
https://apt.dockerproject.org/repo raspbian-jessie main" | sudo tee /etc/apt/sources.list.d/docker.list
So just comment them out with a # like so:
#sudo apt-key adv --keyserver
hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
#echo "deb
https://apt.dockerproject.org/repo raspbian-jessie main" | sudo tee /etc/apt/sources.list.d/docker.list
- The Debian package is named 'docker.io' instead of 'docker-engine', so change:
sudo apt-get install -y --force-yes docker-engine
To:
sudo apt-get install -y --force-yes docker.io
- The docker group is already created now, so you can comment out this line:
sudo groupadd docker
So:
#sudo groupadd docker
The rest seems to be fine!