Skip to content

feat(base): add docker-client to basePackages#2

Merged
jjohare merged 1 commit into
mainfrom
feat/docker-client-base
May 17, 2026
Merged

feat(base): add docker-client to basePackages#2
jjohare merged 1 commit into
mainfrom
feat/docker-client-base

Conversation

@jjohare
Copy link
Copy Markdown

@jjohare jjohare commented May 17, 2026

Summary

  • Adds pkgs.docker-client to basePackages in flake.nix
  • Enables agentbox containers to talk to host docker daemon via mounted /var/run/docker.sock

Why

Containerised agents inside agentbox currently can't orchestrate sibling containers on the host (visionclaw stack, kokoros, whisper-webui, xinference, etc.) without the CLI. Mounting the socket alone isn't enough — they also need the docker binary on PATH. This bakes the client (not the daemon, not DinD) into the image.

Test plan

  • nix build .#runtime-x86_64-linux succeeds
  • docker run --rm -v /var/run/docker.sock:/var/run/docker.sock agentbox:runtime-x86_64-linux docker ps returns the host's container list

🤖 Generated by Claude Code

Adds the docker CLI to the agentbox base image so containerised agents
can talk to the host docker daemon via a mounted /var/run/docker.sock.
Required for any workflow that orchestrates sibling containers
(visionclaw stack, kokoros, whisper, xinference, etc) from inside
agentbox without needing nsenter or DinD.

Co-Authored-By: jjohare <github@thedreamlab.uk>
@jjohare jjohare merged commit 43bc390 into main May 17, 2026
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant