mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
fix: another attempt to fix flaky e2e tests: bump dind and get rid of incomplete cgroups fix, pre-allocate ucind machine port, allow ucind container retarts
This commit is contained in:
@@ -23,6 +23,10 @@ cleanup() {
|
||||
}
|
||||
trap cleanup INT TERM EXIT
|
||||
|
||||
# Remove stale Docker and containerd pid files left over from the previous container run. They persist
|
||||
# across restarts because /run lives in the container's overlay filesystem, not a tmpfs.
|
||||
rm -f /run/docker.pid /run/docker/containerd/containerd.pid
|
||||
|
||||
dind dockerd &
|
||||
echo "Waiting for Docker in Docker to be ready..."
|
||||
timeout 60s sh -c "until docker info &> /dev/null; do sleep 0.5; done"
|
||||
|
||||
Reference in New Issue
Block a user