Comment on CI/CD question: How do you actually deploy a self-hosted web app that runs in docker (preferably using Forgejo actions)?
You are viewing one comment and its replies. View all comments
You are viewing one comment and its replies. View all comments
Comments
The error is because the runner container has no docker client and no access to the host’s daemon. The usual fix is to mount /var/run/docker.sock into the runner and use a job image that ships the docker CLI, then docker compose up -d works from the workflow. Keep in mind that socket is basically root on the Pi, so only run workflows you trust.
Sign in to comment. Sign in