系统环境
raspbian buster
步骤一:卸载老版本
sudo apt-get remove docker docker-engine docker.io containerd runc
步骤二:shell安装
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh –mirror Aliyun
后续说明
树莓派4b安装docker,官方建议shell脚本安装方式,参考官方文档,由于是国内环境,默认安装方式比较慢,需要加上
mirror参数,使用Aliyun源下载。