Jobs on ARC fail at "Initialize containers" with `Error: Jobs without a job container are forbidden on this runner, please add a 'container:' to your job`
AdvancedTroubleshootingRunners, Self-hosted & ARC
Answer
Likely causes → The scale set uses kubernetes container mode with ACTIONS_RUNNER_REQUIRE_JOB_CONTAINER=true, which requires every job to declare container:.
Diagnose → Check the scale set's template env and container mode.
Fix → Add container: image: ... to the job, or set the variable to false if host execution is acceptable.
Prevent → Publish a runner usage guide per scale set.
More on Runners, Self-hosted & ARC
Job stuck at `Waiting for a runner to pick up this job...`Beginner`This request was automatically failed because there were no enabled runners online to process the request for more than 1 days.`Beginner`Must not run with sudo` when running `./config.sh`.Beginner`Http response code: NotFound from 'POST https://api.github.com/actions/runner-registration'` during `config.sh`.BeginnerSelf-hosted runner logs: `Runner version v2.311.0 is deprecated and cannot receive messages.`Intermediate`fatal: detected dubious ownership in repository at '/__w/app/app'` in a container job on a self-hosted runner.Intermediate