Update duokai.sh
This commit is contained in:
parent
7f6109d8f9
commit
e4b2e3422b
@ -24,10 +24,10 @@ apt update
|
|||||||
if ! command -v docker &> /dev/null
|
if ! command -v docker &> /dev/null
|
||||||
then
|
then
|
||||||
echo "未检测到 Docker,正在安装..."
|
echo "未检测到 Docker,正在安装..."
|
||||||
sudo apt-get install ca-certificates curl gnupg lsb-release
|
apt-get install ca-certificates curl gnupg lsb-release
|
||||||
|
|
||||||
# 安装 Docker 最新版本
|
# 安装 Docker 最新版本
|
||||||
sudo apt-get install docker.io -y
|
apt-get install docker.io -y
|
||||||
else
|
else
|
||||||
echo "Docker 已安装。"
|
echo "Docker 已安装。"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user