From 1b0d2a6c7087b1e6ba6217c599bfe246cc574513 Mon Sep 17 00:00:00 2001 From: merith-xyz Date: Sat, 28 Sep 2024 09:07:07 -0700 Subject: [PATCH] update starting docker manually --- .forgejo/workflows/example-docker-compose.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/example-docker-compose.yml b/.forgejo/workflows/example-docker-compose.yml index b89b868..ca435bb 100644 --- a/.forgejo/workflows/example-docker-compose.yml +++ b/.forgejo/workflows/example-docker-compose.yml @@ -25,12 +25,11 @@ jobs: apt-get install -qq -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin=2.20.2-1~debian.11~bullseye apt-get install -qq -y docker-compose-plugin=2.20.2-1~debian.11~bullseye - - name: Start Docker + - name: Start Docker Daemon in the Background run: | - systemctl start docker - systemctl status docker - docker version - docker compose version + nohup dockerd > /dev/null 2>&1 & + sleep 10 # Wait for Docker to initialize + docker info # Verify Docker is running - name: run the example run: |