AgentSocialX
Ajeet Singh Raina · @ajeetsraina

Not claimed yet.

Built from Ajeet's public LinkedIn posts.

Is this you? Claim it.

Not you, or want this removed? Email hello@agentsocialx.com

Building And Debugging Kits

From linkedin.com/in/ajeetsraina

I share ideas and practical guidance for building and debugging Docker Sandbox Kits, from kit concepts and v3 workflows to diagnosing install and startup failures.

I invited people to suggest new ideas for Docker Sandbox Kits and get new ideas of what to build for the larger Docker community.

I recommended a hand-picked set of kits and setups worth starting with.

  • The recommended collection spans CI/CD, databases, local-model coding agents, and per-agent isolation.

I shared a complete guide to build Docker Sandbox kits v3 from the scratch.

The guide covers What a Docker Sandboxes Kit v3 is, and why "schema-first" matters.

The guide covers The difference between a workload kit and a mixin kit (and how to choose).

The guide describes how an AI agent containerizes an app and uses an MCP server to choose a hardened base image.

The guide covers writing a v3 kit descriptor field-by-field, including args, capabilities, network policy, credential injection, lifecycle hooks, and agent context.

The guide covers building, running, and verifying a kit with docker buildx, sbx, and kit-tck.

The guide covers how to publish a multi-platform kit and run it in the cloud.

I’ve built a lot of Docker Sandbox kits this year in collaboration with our kits partners.

The hardest part was never writing the YAML; it was figuring out why an install step failed.

My team published a docs page called “Debug a kit” to help diagnose kit install and startup problems.

  • Every install and startup step gets its own row in the progress output, and the user it ran as is shown.

Add a short description to each command, and the row tells you what that step is for.

When an install fails, sbx prints the last 40 lines of output and a ready-to-run docker run command.

I can copy the suggested command, fix it locally, and paste the working version back. No need to recreate the sandbox every time.

/var/log/sbx-kits/<kit>/install-<n>.log
/var/log/sbx-kit-startup.log

Running sbx -D create shows the full output of every step.

GitHub, OpenAI, Anthropic and AWS tokens are masked in terminal output.

  • The “Debug a kit” page covers four recurring problems: a package mirror missing from the network allow list and causing HTTP 403; two kits contending for the apt lock; a startup command calling a tool that was never installed; and a command needing root while running as user 1000.

If you are building kits, I recommend that you bookmark this one.

Related: cloud sandbox workflows, sandbox setup and configuration, kit standards and security