You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The init script starts with a check if docker is installed, but it always returns that it is installed:
You can fix that with double quotes at "$(which docker)" :
`#!/bin/sh
set -f
log()
{
echo "${1}"
}
log "Checking requirements..."
#if [ -n $(which docker) ]; then
if [ -n "$(which docker)" ]; then
log "> docker => installed"
else
log "> docker => not installed"
exit 1
fi
....`
The text was updated successfully, but these errors were encountered:
The init script starts with a check if docker is installed, but it always returns that it is installed:
You can fix that with double quotes at "$(which docker)" :
`#!/bin/sh
set -f
log()
{
echo "${1}"
}
log "Checking requirements..."
#if [ -n $(which docker) ]; then
if [ -n "$(which docker)" ]; then
log "> docker => installed"
else
log "> docker => not installed"
exit 1
fi
....`
The text was updated successfully, but these errors were encountered: