Skip to main content

mngr Docker Provider

Docker provider backend plugin for mngr. Runs agents in Docker containers (on a local or remote daemon) with SSH access.

Prerequisites

  • Docker with a reachable daemon: local Docker Desktop or Docker Engine, a remote daemon via DOCKER_HOST, or a configured Docker context. mngr resolves the daemon in the same order as the Docker CLI.
  • Docker Engine 25.0 or newer for the isolated host-volume layout (isolate_host_volumes = true).

Usage

# Install the plugin (the install script offers it when a Docker daemon is detected)
uv tool install imbue-mngr --with imbue-mngr-docker
# or, on an existing install:
mngr plugin add imbue-mngr-docker

# Create a container host
mngr create @.docker

# Build the container from your own Dockerfile
mngr create @.docker -b --file=./Dockerfile -b .

# Pass flags to docker run
mngr create @.docker -s --cpus=4 -s --memory=16g

# Change a running or stopped host's caps afterwards
mngr docker resize my-host --cpus 4 --memory 8g

Build arguments (-b) go straight to docker build and start arguments (-s) straight to docker run, so anything those CLIs support is available.

Configuration

An example [providers.docker] block; every field is optional, and the caps shown are choices rather than the provider's defaults (new containers are uncapped unless you set them):

[providers.docker]
host = ""                        # Docker host URL (empty = local daemon; ssh://user@server, tcp://host:2376)
default_image = "debian:bookworm-slim"
default_cpus = 2                 # CPU cap for new containers (docker run --cpus)
default_memory = "4g"            # Memory cap for new containers; swap is capped at the same value
default_start_args = ["--tmpfs", "/run"]
default_idle_timeout = 800
isolate_host_volumes = true      # each container sees only its own host volume (Docker Engine >= 25)
# docker_runtime = "runsc"       # a registered alternative runtime, e.g. gVisor

The full option list, the sizing and snapshot behavior, and the SSH port-binding rules are in mngr's docker provider reference; mngr help docker_usage walks through common setups.

How it works

Each host is a container running sshd, reached over SSH like every other mngr host. Provider metadata (host records, persisted agent data, per-host volumes) lives on a Docker named volume that a small singleton state container serves, so several mngr clients can share one daemon. Snapshots are docker commits; stop and start are native container stop and start. See ARCHITECTURE.md for the details.

The keys that open a container are minted per host under the provider instance's key dir, <profile>/providers/docker/<instance>/keys/host_keys/<host-uuid-hex>/ (docker_ssh_key / .pub, the client key, and host_key / .pub, the container sshd's host keypair), with the host-key pins in that instance's keys/known_hosts store; the layout is published as DOCKER_HOST_ACCESS_MANIFEST (constants.py) for consumers that carry a host's access material to another machine.

Metadata

Release files for imbue-mngr-docker 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for imbue-mngr-docker 0.1.1
File Interpreter ABI Platform Actions
imbue_mngr_docker-0.1.1-py3-none-any.whl Python 3 none any Details for imbue_mngr_docker-0.1.1-py3-none-any.whl

Release files / imbue_mngr_docker-0.1.1-py3-none-any.whl

Download URL imbue_mngr_docker-0.1.1-py3-none-any.whl
Size 70.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be52aa37086fda717ca69f93a800fee76ae7ef376370cb684c21ae5c84d71efd
BLAKE2b-256 checksum
How to use checksums
dc572d89e802c307e6694a1ee3b0af02e311ec463ea40df2fe176c923d987579
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Security for imbue-mngr-docker 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for imbue_mngr_docker-0.1.1-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page