@user/docker/engine

Model type — v2026.02.11.2

Details

Type
@user/docker/engine
Normalized
@user/docker/engine
Version
v2026.02.11.2
Methods
6
Resources
3
Files
0
Definitions
2

Global Arguments

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "sshHost": {
      "type": "string",
      "description": "SSH hostname/IP of the target VM"
    },
    "sshUser": {
      "default": "root",
      "description": "SSH user (default 'root')",
      "type": "string"
    }
  },
  "required": [
    "sshHost",
    "sshUser"
  ],
  "additionalProperties": false
}

Methods (6)

install

Install Docker Engine on an Alpine VM via SSH

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
build

Build a Docker image on the remote host

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "imageTag": {
      "type": "string",
      "description": "Tag for the built image"
    },
    "contextPath": {
      "type": "string",
      "description": "Build context path on remote host"
    },
    "dockerfilePath": {
      "description": "Path to Dockerfile (relative to context)",
      "type": "string"
    }
  },
  "required": [
    "imageTag",
    "contextPath"
  ],
  "additionalProperties": false
}
run

Run a Docker container (stops existing container with same name first)

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "containerName": {
      "type": "string",
      "description": "Name for the container"
    },
    "imageTag": {
      "type": "string",
      "description": "Image to run"
    },
    "ports": {
      "description": "Port mappings (e.g. ['8080:8080'])",
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "string"
        }
      ]
    },
    "volumes": {
      "description": "Volume mounts",
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "string"
        }
      ]
    },
    "env": {
      "description": "Environment variables as JSON object string",
      "type": "string"
    },
    "envFile": {
      "description": "Path to env file on remote host",
      "type": "string"
    },
    "restart": {
      "description": "Restart policy (e.g. 'unless-stopped')",
      "type": "string"
    },
    "command": {
      "description": "Command to run in the container",
      "type": "string"
    }
  },
  "required": [
    "containerName",
    "imageTag"
  ],
  "additionalProperties": false
}
stop

Stop and remove a Docker container (idempotent)

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "containerName": {
      "type": "string",
      "description": "Name of the container to stop"
    }
  },
  "required": [
    "containerName"
  ],
  "additionalProperties": false
}
inspect

Inspect a Docker container

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "containerName": {
      "type": "string",
      "description": "Name of the container to inspect"
    }
  },
  "required": [
    "containerName"
  ],
  "additionalProperties": false
}
exec

Execute a command inside a running Docker container

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "containerName": {
      "type": "string",
      "description": "Name of the container"
    },
    "command": {
      "type": "string",
      "description": "Command to execute"
    },
    "workdir": {
      "description": "Working directory inside the container",
      "type": "string"
    }
  },
  "required": [
    "containerName",
    "command"
  ],
  "additionalProperties": false
}

Resources (3)

result

Docker engine operation result

Lifetime
infinite
Garbage Collection
10
image

Docker image build result

Lifetime
infinite
Garbage Collection
5
container

Docker container state

Lifetime
infinite
Garbage Collection
10

Definitions (2)

NameVersionTagsID
dockerEnginev1505a7eba
slateDockerv1d028c220