Skip to content

Commit

Permalink
update-docker-image
Browse files Browse the repository at this point in the history
  • Loading branch information
xubiaolin committed Jan 6, 2024
1 parent ddfce29 commit 56d86d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

function install() {
docker pull xubiaolin/zerotier-planet:latest

echo "开始安装,如果你已经安装了,将会删除旧的数据,10s后开始安装..."
sleep 10

Expand Down Expand Up @@ -175,6 +177,8 @@ function uninstall() {
}

function update() {
docker pull xubiaolin/zerotier-planet:latest

docker inspect myztplanet >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "容器myztplanet不存在,请先安装"
Expand Down

0 comments on commit 56d86d3

Please sign in to comment.