Fix Docker access issue - version 1.0.4
This commit is contained in:
parent
e4d2b85013
commit
de355f1ced
3 changed files with 7 additions and 6 deletions
|
@ -8,7 +8,7 @@ PANGOLIN_ENDPOINT=${PANGOLIN_ENDPOINT:-"https://example.com"}
|
|||
NEWT_ID=${NEWT_ID:-"default_id"}
|
||||
NEWT_SECRET=${NEWT_SECRET:-"default_secret"}
|
||||
|
||||
# Ensure Docker is running
|
||||
# Check if Docker is available
|
||||
if ! docker info >/dev/null 2>&1; then
|
||||
echo "Docker is not available inside Home Assistant OS!"
|
||||
exit 1
|
||||
|
@ -31,4 +31,4 @@ docker run -d --restart unless-stopped \
|
|||
echo "Newt container is running!"
|
||||
|
||||
# Keep the script running
|
||||
exec tail -f /dev/null
|
||||
exec tail -f /dev/null
|
Loading…
Add table
Add a link
Reference in a new issue