Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
pluginagentmarketplace avatar

Docker Volumes

  • 21 installs
  • 2 repo stars
  • Updated January 5, 2026
  • pluginagentmarketplace/custom-plugin-docker

Docker Volumes is an agent skill that standardizes Docker volume plugin configuration, validation modes, and integration defaults via schema-driven settings.

About

Docker Volumes is a configuration-oriented agent skill from a custom Docker plugin marketplace, aimed at solo builders who containerize apps but need consistent defaults for volume-related behavior. The packaged YAML and JSON Schema define enabled state, log levels, validation strictness, auto-fix flags, and per-environment overrides so development stays permissive while production enforces stricter checks. Integrations for git, linters, and formatters suggest the skill fits into agent-assisted repo workflows rather than one-shot chat advice. For indies shipping Docker Compose or plugin-based stacks, it offers a structured place to encode how volume settings should be validated and reported—useful when you want repeatable agent guidance instead of re-explaining mount policies every session.

  • Versioned docker-volumes skill config (1.0.0) under containers category
  • Environment overrides: development debug vs production warn with strict validation
  • JSON Schema for skill metadata including category enum spanning api through containers
  • Integration toggles for git, linter, and formatter
  • Markdown output format with optional examples via settings.output

Docker Volumes by the numbers

  • 21 all-time installs (skills.sh)
  • Ranked #909 of 1,453 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 26, 2026 (Skillselion catalog sync)
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-docker --skill docker-volumes

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs21
repo stars2
Security audit3 / 3 scanners passed
Last updatedJanuary 5, 2026
Repositorypluginagentmarketplace/custom-plugin-docker

What it does

Configure and validate Docker volume settings for container plugins with environment-specific strictness and integration hooks.

Who is it for?

Best when you use marketplace Docker plugins and want schema-backed, environment-aware volume configuration in agent sessions.

Skip if: Anyone needing a full Docker tutorial with no plugin context, or pure local scripts with zero container orchestration.

When should I use this skill?

Configuring Docker volume behavior, container persistence, or marketplace docker-volumes plugin settings for an agent

What you get

You apply a single versioned config profile with environment overrides and documented output format for volume-related container work.

  • docker-volumes YAML configuration with environment blocks
  • JSON Schema–validated skill metadata for containers category

By the numbers

  • Skill version 1.0.0 with semver pattern in JSON Schema
  • 11 category enum values in configuration schema including containers and devops

Files

SKILL.mdMarkdownGitHub ↗

Docker Volumes Skill

Master Docker persistent storage including named volumes, bind mounts, tmpfs, and data backup/restore procedures.

Purpose

Implement reliable data persistence for containers with proper volume management, backup strategies, and permission handling.

Parameters

ParameterTypeRequiredDefaultDescription
volume_namestringNo-Name for the volume
mount_typeenumNovolumevolume/bind/tmpfs
backupbooleanNofalseInclude backup commands

Storage Types

TypePersistenceUse CaseManaged By
Named VolumeYesProduction dataDocker
Bind MountYesDevelopment, configsHost
tmpfsNo (memory)Secrets, temp filesDocker
AnonymousContainer lifetimeScratch spaceDocker

Volume Operations

Named Volumes

# Create volume
docker volume create app_data

# Use in container
docker run -d \
  -v app_data:/var/lib/postgresql/data \
  postgres:16-alpine

# Inspect volume
docker volume inspect app_data

# List volumes
docker volume ls

# Remove unused volumes
docker volume prune

Bind Mounts

# Development - mount source code
docker run -d \
  -v $(pwd)/src:/app/src \
  node:20-alpine

# Read-only config
docker run -d \
  -v /etc/app/config.yaml:/app/config.yaml:ro \
  myapp

tmpfs Mounts

# Sensitive data in memory
docker run -d \
  --tmpfs /app/secrets:rw,noexec,nosuid,size=64m \
  myapp

# Compose syntax
services:
  app:
    volumes:
      - type: tmpfs
        target: /app/tmp
        tmpfs:
          size: 100m

Docker Compose Volumes

services:
  database:
    image: postgres:16-alpine
    volumes:
      - db_data:/var/lib/postgresql/data
      - ./init.sql:/docker-entrypoint-initdb.d/init.sql:ro
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}

  app:
    image: myapp
    volumes:
      - uploads:/app/uploads
      - ./config:/app/config:ro

volumes:
  db_data:
    driver: local
  uploads:
    external: true  # Pre-created

Backup & Restore

Backup Volume

# Backup to tar file
docker run --rm \
  -v app_data:/source:ro \
  -v $(pwd)/backups:/backup \
  alpine tar cvf /backup/app_data_$(date +%Y%m%d).tar -C /source .

# Compressed backup
docker run --rm \
  -v app_data:/source:ro \
  -v $(pwd)/backups:/backup \
  alpine tar czvf /backup/app_data_$(date +%Y%m%d).tar.gz -C /source .

Restore Volume

# Restore from tar
docker run --rm \
  -v app_data:/dest \
  -v $(pwd)/backups:/backup:ro \
  alpine tar xvf /backup/app_data_20240101.tar -C /dest

Clone Volume

docker run --rm \
  -v source_volume:/from:ro \
  -v target_volume:/to \
  alpine cp -av /from/. /to/

Error Handling

Common Errors

ErrorCauseSolution
volume in useContainer runningStop container first
permission deniedUID mismatchFix ownership
no space leftDisk fullClean up or expand
path not foundBind mount missingCreate directory

Permission Fixes

# Check ownership
docker run --rm -v app_data:/data alpine ls -la /data

# Fix ownership (match container user)
docker run --rm -v app_data:/data alpine chown -R 1000:1000 /data

# SELinux (RHEL/CentOS)
docker run -v /host/path:/container/path:Z myimage

Troubleshooting

Debug Checklist

  • [ ] Volume exists? docker volume ls
  • [ ] Mount visible? docker exec <c> df -h
  • [ ] Permissions correct? ls -la in container
  • [ ] Data persisting? Stop/start container

Diagnostic Commands

# Check volume location
docker volume inspect app_data --format '{{.Mountpoint}}'

# Check container mounts
docker inspect <container> --format '{{json .Mounts}}'

# Check disk usage
docker system df -v

Usage

Skill("docker-volumes")

Related Skills

  • docker-compose-setup
  • docker-production

Related skills

How it compares

Structured plugin config skill—not a replacement for official Docker CLI reference or a full Compose generator.

FAQ

Who is docker-volumes for?

Developers and small teams wiring custom Docker marketplace plugins who need consistent volume-related defaults for coding agents.

When should I use docker-volumes?

In Operate when tuning infra for persisted container data, and in Ship launch prep when aligning strict validation before production deploys.

Is docker-volumes safe to install?

Check the Security Audits panel on this Prism page; the skill enables filesystem and git integrations in config—scope agent permissions to your repo only.

DevOps & CI/CDdeployinfra

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.