From 798fee5b11ae58980663b4b28566955404fc1621 Mon Sep 17 00:00:00 2001 From: Christian Drexler Date: Sun, 14 Apr 2024 12:31:01 +0000 Subject: [PATCH] small update to docker compose (quoted boolean, compose as module) (again) (#525) Hi, somehow I made a hash of the last PR #522 so it failed linting again. I hope it is ok now. Sorry for the noise! Reviewed-on: https://codeberg.org/forgejo/docs/pulls/525 Reviewed-by: Earl Warren Co-authored-by: Christian Drexler Co-committed-by: Christian Drexler --- docs/admin/actions.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/admin/actions.md b/docs/admin/actions.md index 5af20483..0b7c2ac7 100644 --- a/docs/admin/actions.md +++ b/docs/admin/actions.md @@ -153,7 +153,7 @@ services: docker-in-docker: image: docker:dind container_name: 'docker_dind' - privileged: true + privileged: 'true' command: ['dockerd', '-H', 'tcp://0.0.0.0:2375', '--tls=false'] restart: 'unless-stopped' @@ -177,7 +177,10 @@ services: ``` Here, we're not running the `forgejo-runner daemon` yet because we -need to register it first. Follow the registration instructions below +need to register it first. Please note that in a recent install of +docker `docker-compose`is not a separate command but should be run as +`docker compose`. +Follow the registration instructions below by starting the `runner` service with `docker-compose up -d` and entering it via: