Skip to content

Commit

Permalink
ci: 配置docker开机自启动
Browse files Browse the repository at this point in the history
  • Loading branch information
liuruibin committed Aug 23, 2023
1 parent a723f6e commit cbb9cb5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ if [ $? != 0 ];then
exit
fi

# 配置docker服务开机自启
if which systemctl >/dev/null; then
systemctl enable docker
fi

##Install Latest Stable Docker Compose Release
if which docker-compose >/dev/null; then
log "检测到 Docker Compose 已安装,跳过安装步骤"
Expand Down

0 comments on commit cbb9cb5

Please sign in to comment.