树莓派安装docker
树莓派最常用的系统为Raspbian,这是基于Debian的一套Linux系统。查询docker官网可以看到这样一句提示
Raspbian users cannot use this method!
For Raspbian, installing using the repository is not yet supported. You must instead use the convenience script.
所以根据官网建议,我们最好是使用,docker官方提供的便捷脚本来一键安装,先下载再执行就OK啦。
$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh
看看效果: