To run a Docker container action, the job's runs-on environment must be a Linux machine that has Docker installed. Key Requirements Linux OS Only: Docker container actions are only supported on Linux runners. They cannot run on Windows or macOS runners. Docker Installed: The runner must have the Docker CLI and daemon installed and running to build and execute the action's container. GitHub-Hosted Runners: If you use GitHub-hosted runners, you must specify an Ubuntu environment (e.g., runs-on: ubuntu-latest), as these come pre-configured with Docker. Self-Hosted Runners: For self-hosted runners, you must manually ensure the machine is running Linux and has Docker installed. Reference: https://docs.github.com/actions/sharing-automations/creating-actions/creating-a-docker- container-action