Modules@robinpath/docker
@robinpath/docker
0.1.0PublicDocker container and image management using the system docker binary
@robinpath/docker
Docker container and image management using the system docker binary
Why use this module?
The docker module lets you:
- List Docker containers
- List Docker images
- Run a new container from an image
- Stop a running container
- Start a stopped container
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/docker
Quick Start
No credentials needed — start using it right away:
docker.images
Available Functions
| Function | Description |
|---|---|
docker.ps | List Docker containers |
docker.images | List Docker images |
docker.run | Run a new container from an image |
docker.stop | Stop a running container |
docker.start | Start a stopped container |
docker.rm | Remove a container |
docker.rmi | Remove a Docker image |
docker.logs | Fetch logs from a container |
docker.exec | Execute a command inside a running container |
docker.build | Build a Docker image from a Dockerfile |
docker.pull | Pull a Docker image from a registry |
docker.push | Push a Docker image to a registry |
docker.inspect | Return low-level information on a container or image |
docker.stats | Display container resource usage statistics |
docker.network | Manage Docker networks |
docker.volume | Manage Docker volumes |
Examples
List Docker images
docker.images
Run a new container from an image
docker.run
Stop a running container
docker.stop
Integration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/docker";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
docker.images
`);
Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
@robinpath/git— Git module for complementary functionality@robinpath/github— GitHub module for complementary functionality@robinpath/gitlab— GitLab module for complementary functionality@robinpath/vercel— Vercel module for complementary functionality@robinpath/netlify— Netlify module for complementary functionality
License
MIT
Versions (1)
| Version | Tag | Published |
|---|---|---|
| 0.1.0 | latest | yesterday |
Related Modules
devops
0
@robinpath/bitbucket
v0.1.1robinpath
Bitbucket module for RobinPath.
0 downloads
...
devops
0
@robinpath/box
v0.1.1robinpath
Box module for RobinPath.
0 downloads
...
devops
0
@robinpath/cache
v0.1.1robinpath
In-memory key-value cache with optional TTL expiration for temporary data storage
0 downloads
...
devops
0
@robinpath/cloudflare
v0.1.1robinpath
Cloudflare module for RobinPath.
0 downloads
...
Install
$ robinpath install @robinpath/docker Version0.1.0
LicenseMIT
Unpacked Size5.1 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

