Update duokai.sh

This commit is contained in:
smeb y 2024-03-18 17:15:55 +08:00 committed by GitHub
parent 7f6109d8f9
commit e4b2e3422b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,10 +24,10 @@ apt update
if ! command -v docker &> /dev/null
then
echo "未检测到 Docker正在安装..."
sudo apt-get install ca-certificates curl gnupg lsb-release
apt-get install ca-certificates curl gnupg lsb-release
# 安装 Docker 最新版本
sudo apt-get install docker.io -y
apt-get install docker.io -y
else
echo "Docker 已安装。"
fi