ucind: init cluster with created machines

This commit is contained in:
Pavel Sviderski
2024-11-28 19:57:51 +10:00
parent 035f44896d
commit 48767125f4
2 changed files with 90 additions and 2 deletions
+1
View File
@@ -1,6 +1,7 @@
#!/bin/sh
set -eu
# TODO: cleanup /run/docker.pid on exit to support container restart.
dind dockerd &
echo "Waiting for Docker in Docker to be ready..."
timeout 5s sh -c "until docker info &> /dev/null; do sleep 0.1; done"