Open /etc/apk/repositories and uncomment (delete #) the second line, which should then look somehow like
/media/mmcblk0p1/apks
http://.../alpine/v3.11/main
http://.../alpine/v3.11/community
#http://.../alpine/edge/main
...
Docker is in the community
branch, so we need that unquoted.
Now you can install and start docker (on boot)
apk add docker
service docker start
rc-update add docker boot
Don't forget to lbu commit
docker run hello-world
It tells you if that works. If so, have fun using docker now ;)
If you run into issues, commently x509: certificate has expired or is not yet valid
, you will have to work on your ntpd. setup-ntp
, followed by lbu commit
and reboot
might resolve the issue.