Skip to content

Commit

Permalink
docker.sh: Add debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
theCalcaholic committed Jan 4, 2024
1 parent 9999e3c commit 8a27f90
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ install() {

if [[ "$INIT_SYSTEM" == "chroot" ]] || [[ "$INIT_SYSTEM" == "armbian-build" ]]
then
service docker start
containerd &
dockerd &
sleep 5
fi

docker run --rm hello-world >/dev/null 2>&1 || {
docker run --rm hello-world || {
echo "Docker failed to start"
exit 1
}
Expand Down

0 comments on commit 8a27f90

Please sign in to comment.