diff --git a/autorunonce b/autorunonce index 1d8593c5..1cfd3143 100644 --- a/autorunonce +++ b/autorunonce @@ -176,7 +176,7 @@ if [ $startplanet = "true" ]; then { echo "#!/bin/sh" echo - echo "if [ \"$(treehouses container)\" = \"balena\" ]; then" + echo "if echo \"\$(treehouses container)\" | grep \"balena\" ; then" echo " export DOCKER_HOST=localhost:2375" echo "fi" echo "sleep 1"