We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e02ef96 + 747c8b7 commit 161631eCopy full SHA for 161631e
context/docker/rootfs/scripts/docker.sh
@@ -73,7 +73,7 @@ check_docker_valid() {
73
74
storage=${1:-/var/lib/docker}
75
mkdir -p "$storage"
76
-if ! utils_command_exists docker; then
+if ! utils_command_exists docker || ! utils_command_exists systemctl status docker; then
77
lsb_dist=$(get_distribution)
78
lsb_dist="$(echo "$lsb_dist" | tr '[:upper:]' '[:lower:]')"
79
echo "current system is $lsb_dist"
0 commit comments