Skip to content

Commit

Permalink
Create update-image.sh (caoyingjunz#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
caoyingjunz authored Nov 8, 2024
1 parent 511d4ef commit 3e0bbc4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hack/update-image.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
function update() {
docker pull harbor.cloud.pixiuio.com/pixiuio/pixiu-aio:latest
docker rm -f pixiu-aio
sleep 3
docker run -d --net host --restart=always --privileged=true -v /etc/pixiu:/etc/pixiu -v /var/run/docker.sock:/var/run/docker.sock --name pixiu-aio harbor.cloud.pixiuio.com/pixiuio/pixiu-aio:latest
}

update

0 comments on commit 3e0bbc4

Please sign in to comment.