tortill.as

Micro script - Checking docker startup time

2023-06-16
#!/bin/bash

counter=0

until docker ps &> /dev/null
do
    echo "Waiting for docker..."
    ((counter++))
    sleep 1
done

echo -e "$counter seconds"