Documentation
¶
Overview ¶
Package docker implements an MCPSource that provisions MCP servers in Docker containers. Uses the local `docker` CLI (no Docker SDK dep).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI interface {
Run(ctx context.Context, spec RunSpec) (containerID string, err error)
Stop(ctx context.Context, containerID string) error
Exec(ctx context.Context, containerID string, argv []string) (stdout string, err error)
}
CLI is the minimal docker-CLI surface the source needs. Production code uses realCLI; tests supply a fake.
Click to show internal directories.
Click to hide internal directories.