Skip to main content

Docker

@keeb/dockerv2026.10.15.2· 1mo agoBEHAVIORSWORKFLOWSSKILLSACCEPTED WARNINGS
01README

Manage Docker Engine and Docker Compose lifecycle on remote hosts over SSH, including install, build, run, inspect, exec, and compose service operations.

02Behaviors2
@keeb/docker/enginev2026.02.11.2docker_engine.ts

Global Arguments

ArgumentTypeDescription
sshHoststringSSH hostname/IP of the target VM
sshUser?stringSSH user (default 'root')
fn install()
Install Docker Engine on an Alpine VM via SSH
fn build(imageTag: string, contextPath: string, dockerfilePath?: string)
Build a Docker image on the remote host
ArgumentTypeDescription
imageTagstringTag for the built image
contextPathstringBuild context path on remote host
dockerfilePath?stringPath to Dockerfile (relative to context)
fn run(imageTag: string, ports?: union, volumes?: union, env?: string, envFile?: string, restart?: string, command?: string)
Run a Docker container (stops existing container with same name first)
ArgumentTypeDescription
imageTagstringImage to run
ports?unionPort mappings (e.g. ['8080:8080'])
volumes?unionVolume mounts
env?stringEnvironment variables as JSON object string
envFile?stringPath to env file on remote host
restart?stringRestart policy (e.g. 'unless-stopped')
command?stringCommand to run in the container (passed to the remote shell as-is)
fn stop()
Stop and remove a Docker container (idempotent)
fn inspect()
Inspect a Docker container
fn exec(command: string, workdir?: string)
Execute a command inside a running Docker container
ArgumentTypeDescription
commandstringCommand to execute (passed to the remote shell as-is)
workdir?stringWorking directory inside the container

Resources

result(infinite)— Docker engine operation result
image(infinite)— Docker image build result
container(infinite)— Docker container state
@keeb/docker/composev2026.05.31.2docker_compose.ts

Global Arguments

ArgumentTypeDescription
sshHoststringSSH hostname or IP address
sshUser?stringSSH user (default 'root')
composePathstringPath to docker-compose directory on remote host
serviceName?stringSpecific service name (optional, operates on all services if omitted)
pruneOnUpdate?booleanRun 'docker image prune -f' after a successful update to reclaim disk space
rollbackOnUpdate?booleanOn 'update', capture the running images first and roll back to them if the new deploy fails its health gate
updateHealthTimeout?numberSeconds to wait for services to become running/healthy after 'update' before declaring failure (only used when rollbackOnUpdate is true)
fn start()
Start Docker Compose services
fn stop()
Stop Docker Compose services
fn update()
Pull latest images and restart Docker Compose services; optionally health-gate the new deploy and roll back to the previous images on failure
fn status()
Show Docker Compose service status
fn prune()
Remove dangling Docker images on the remote host to reclaim disk space

Resources

result(infinite)— Docker compose operation result
03Workflows1
@keeb/setup-dockerc0240ea9-32d5-424e-b6cf-abfec07c5579

Install Docker Engine on a running VM by name

setupAuth, lookup VM via fleet, install Docker
1.authkeebDev02.auth— Authenticate with Proxmox via keebDev02
2.lookupfleet.lookup— Look up VM to get IP
3.install-dockerdockerEngine.install— Install Docker via SSH
04Skills1
docker1 file
05Previous Versions11
2026.10.15.1
2026.07.18.1
2026.05.31.2
2026.05.31.1

Modified 1 behaviors

2026.05.25.1
2026.04.22.3
2026.04.22.2
2026.03.02.3
2026.03.02.2
2026.03.02.1
2026.02.27.1
06Stats
A
93 / 100
Downloads
1,565
Archive size
27.3 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License1/2partial

    no SPDX license declared

  • Verified public repository2/2earned

08Platforms
09Labels