act-docker-setup

Configure Docker environments for act workflows with runner images and resource limits.

187|20|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/TheBushidoCollective/han --skill act-docker-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: act-docker-setup
Source: https://github.com/TheBushidoCollective/han/tree/main/jutsu/jutsu-act/skills/act-docker-setup
Command: npx skills add https://github.com/TheBushidoCollective/han --skill act-docker-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure Docker environments for act, select runner images, manage resources, and optimize Docker performance for local Actions testing.

Core Features & Use Cases

  • Runner images by size and language
  • Docker socket, volume mounts, and network configurations
  • Resource controls (memory, CPU) and lifecycle management

Quick Start

Set up a Docker-based runner using a small image and run a basic workflow locally.

Frequently Asked Questions about act-docker-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test GitHub Actions workflows locally without pushing to a repository?

Use act to run GitHub Actions workflows on your local machine. Act simulates the GitHub Actions runner environment, letting you test workflows with Docker before committing. This catches errors early and speeds up development cycles without triggering CI/CD pipelines.

What Docker images should I use with act for different project types?

Act provides runner images in size categories—small, medium, and large—each optimized for different languages and dependencies. Select by project type and language requirements to balance speed and compatibility. Larger images include more tools but consume more disk space and memory.

How do I configure Docker resource limits and volume mounts for act workflows?

Configure memory, CPU limits, and volume mounts in .actrc or per-workflow settings. Mount Docker sockets for container-in-container tasks, bind local directories as volumes, and set resource constraints to match your development machine. These settings optimize performance and enable integration testing.

Can I run act workflows that require Docker or container access?

Yes. Act supports Docker socket mounting and network configuration, enabling workflows that build, push, or run containers. Configure the Docker socket in your act setup to allow nested container operations within the act runner environment.

Why is my act workflow running slowly, and how do I troubleshoot Docker performance?

Slow workflows often stem from oversized runner images, memory constraints, or I/O bottlenecks. Troubleshoot by switching to smaller images, increasing allocated memory and CPU, checking volume mount performance, and monitoring container lifecycle. Act provides configuration options to diagnose and resolve these issues.

Do I need to modify my GitHub Actions workflow syntax to use act locally?

No. Act runs standard GitHub Actions workflow YAML without modification. Your workflows execute identically in act and on GitHub's servers, so local testing produces reliable results that match production behavior.