Pgpm Docker

🌐Community
by constructive-io · vlatest · Repository

Automates PostgreSQL provisioning and management within Docker containers using Constructive's declarative infrastructure approach.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add pgpm-docker npx -- -y @trustedskills/pgpm-docker
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "pgpm-docker": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/pgpm-docker"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The pgpm-docker skill allows AI agents to manage and interact with Docker containers using the pgp-manager library. It can build, run, stop, and remove Docker containers from within an agent's workflow. This enables automated deployment and management of containerized applications directly through AI interaction.

When to use it

  • Automating application deployments: Quickly deploy a new version of your application by instructing the agent to build and run a specific Docker image.
  • Managing development environments: Set up and tear down isolated development environments on demand using Docker containers.
  • Running containerized tasks: Execute specific tasks or scripts within a controlled Docker environment, ensuring reproducibility and isolation.
  • Testing deployments: Automatically spin up test environments based on Docker images to validate code changes.

Key capabilities

  • Build Docker images from Dockerfiles.
  • Run Docker containers with specified configurations.
  • Stop running Docker containers.
  • Remove existing Docker containers.

Example prompts

  • "Build the 'my-app' image using the Dockerfile in the current directory."
  • "Run a container named 'webserver' from the 'nginx:latest' image, mapping port 80 to port 8080 on the host."
  • “Stop the container called ‘database’ and then remove it.”

Tips & gotchas

  • Requires Docker to be installed and running on the system where the agent is executing.
  • The agent needs appropriate permissions to interact with the Docker daemon.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
constructive-io
Installs
8

🌐 Community

Passed automated security scans.