Update podman_ha_setup.sh

This commit is contained in:
tteckster 2022-04-03 18:28:48 -04:00 committed by GitHub
parent 68c6fc28a7
commit 526deac5ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 11 deletions

View File

@ -66,20 +66,19 @@ echo -en "${GN} Installing Podman... "
apt-get -y install podman &>/dev/null
echo -e "${CM}${CL} \r"
#echo -en "${GN} Pulling Yacht Image... "
#podman pull ghcr.io/selfhostedpro/yacht:latest &>/dev/null
#echo -e "${CM}${CL} \r"
echo -en "${GN} Pulling Yacht Image... "
podman pull docker.io/selfhostedpro/yacht:latest &>/dev/null
echo -e "${CM}${CL} \r"
echo -en "${GN} Installing Yacht... "
podman volume create yacht >/dev/null
podman run -v /var/run/podman/podman.sock:/var/run/docker.sock -v yacht:/config -p 8000:8000 --name -d ghcr.io/selfhostedpro/yacht:latest &>/dev/null
#podman run -d \
# --name yacht \
# --restart always \
# -v /var/run/podman/podman.sock:/var/run/docker.sock \
# -v yacht:/config \
# -p 8000:8000 \
# selfhostedpro/yacht:latest &>/dev/null
podman run \
--name yacht \
--restart always \
-v /var/run/podman/podman.sock:/var/run/docker.sock \
-v yacht:/config \
-p 8000:8000 \
selfhostedpro/yacht:latest &>/dev/null
echo -e "${CM}${CL} \r"
echo -en "${GN} Pulling Home Assistant Image... "