【树莓派】Docker安装脚本
88 字
1 分钟
【树莓派】Docker安装脚本

#!/bin/shsudo apt updatesudo apt install -y apt-transport-https ca-certificates curl gnupg2 lsb-release software-properties-commoncurl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/raspbian/gpg | sudo apt-key add -echo "deb [arch=armhf] https://mirrors.ustc.edu.cn/docker-ce/linux/raspbian $(lsb_release -cs) stable" |sudo tee /etc/apt/sources.list.d/docker.listsudo apt updatesudo apt install -y docker-cecurl -fsSL get.docker.com -o get-docker.shsudo sh get-docker.sh --mirror Aliyunsudo systemctl enable dockersudo systemctl start docker# sudo groupadd dockersudo usermod -aG docker $USERecho "没有报错情况下退出终端重新登录即可完成"支持与分享
如果这篇文章对你有帮助,欢迎分享给更多人或打赏支持!
相关文章智能推荐
1
树莓派安装Raspbian
树莓派笔记2018-03-05
2
树莓派配置迅雷远程下载
树莓派笔记2017-12-04
3
【树莓派】使用BerryBoot安装多系统
树莓派笔记2019-05-13
4
树莓派配置wifi连接
树莓派笔记2018-03-31
5
【树莓派】SD卡系统备份
树莓派笔记2022-01-09
随机文章随机推荐















加载更多…