@elyracode/docker
v0.9.9
Published
Docker-aware development for Elyra -- container exec, log tailing, compose operations, environment sync
Maintainers
Readme
@elyracode/docker
Docker-aware development for Elyra. Container exec routing, log tailing, compose operations, environment sync checks, and container health monitoring.
Install
elyra install npm:@elyracode/dockerTools
| Tool | Description |
|------|-------------|
| docker_exec | Run a command inside a Docker container |
| docker_logs | Read recent logs from a container |
| docker_status | List running containers with resource usage, ports, and health |
| docker_compose | Run docker compose operations (up, down, restart, build) |
| docker_env_check | Compare host .env with container environment variables |
Commands
/docker-- Container status dashboard (running containers, ports, health)
Usage
Container execution
The agent automatically routes commands through docker exec when it detects a Docker environment:
> Run the database migrations
> Run the test suite
> Check the PHP version in the app containerOr be explicit:
> Run "php artisan migrate" in the app container
> Execute "npm run build" in the node containerLog reading
> Show me the last 50 lines of the app container logs
> What errors are in the nginx logs?
> Tail the database logs and look for slow queriesCompose operations
> Rebuild the app container
> Restart the database service
> Bring up the entire stack
> Shut down all containersEnvironment sync
> Check if my .env matches what the app container sees
> Compare environment variables between host and containerStatus
/dockerShows running containers, CPU/memory usage, port mappings, volume mounts, and health check status.
How it works
On session start, the extension reads docker-compose.yml (or compose.yml) and injects container context into the system prompt. The agent knows which services exist, which ports are mapped, and which volumes are mounted.
When commands need to run inside a container, docker_exec handles the routing. The agent doesn't need to be told "use docker exec" -- it knows from context.
Requirements
- Docker CLI installed and running
- Docker Compose v2 (for compose operations)
