Docker Manager Pack
★Trustedv1.0.0MIT★Gold Verified95by AgentNode · published 1 month ago · toolpack
Manage Docker containers, images, and volumes from your agent.
Start, stop, inspect, and remove Docker containers. Build images, manage volumes, and view logs. Uses the Docker Engine API.
Quick Start
agentnode install docker-manager-packRuns in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.
Usage
From packagefrom docker_manager_pack.tool import run
# List all running containers
result = run(
action="docker_manage",
operation="list_containers",
status="running"
)
for container in result["containers"]:
print(f"{container['name']:30s} {container['image']:40s} {container['status']}")
# Inspect a specific container
details = run(
action="docker_manage",
operation="inspect",
container="my-postgres-db"
)
print(f"\nIP Address: {details['network']['ip_address']}")
print(f"Memory Usage: {details['stats']['memory_usage_mb']:.1f} MB")
print(f"CPU: {details['stats']['cpu_percent']:.2f}%")Environment Variables
DOCKER_HOSTDocker daemon socket URL (defaults to unix:///var/run/docker.sock)
Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works
Verification
Package installs and imports correctly. runtime checks passed. publisher tests passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Last verified 13d ago· Runner v2.0.0
Use this when you need to...
- ›Start and stop Docker containers for CI/CD test environments
- ›Inspect running container resource usage and health status
- ›Pull and build Docker images from private registries
- ›Stream container logs for real-time debugging
- ›Clean up dangling images and unused volumes to reclaim disk space
README
Version History
Capabilities
Permissions
Declared by the publisher. Checked before execution by the policy gate.
Permissions are policy-checked before execution. Network and filesystem access are not sandboxed at runtime. Learn more
Privacy
All tool execution happens locally on your machine. AgentNode never receives:
- • Tool inputs or outputs
- • Execution logs
- • Data your agent processes
Only install events and search queries are sent to the registry.
agentnode install docker-manager-packEnvironment Variables
DOCKER_HOSTFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode