Docker Patterns
Docker and Compose patterns for local dev stacks, hardened Dockerfiles, networking, volumes, and multi-service orchestration.
- What
- Docker and Compose patterns for local dev stacks, hardened Dockerfiles, networking, volumes, and multi-service orchestration.
- Cost
- Free
- Needs
- Use "Docker Patterns" with your Muse.
- Install
- Copy the installer prompt below into your Muse — your agent does the rest.
Curated by Skill Harbor: Docker and Docker Compose best practices for containerized development. The centerpiece is a complete local development stack in Compose: an app service built from the dev stage of a multi-stage Dockerfile with bind mounts for hot reload, a Postgres service with health checks and init scripts, and Redis, wired with depends_on conditions so services start in the right order. Beyond the happy path it covers hardened Dockerfiles, container security basics, networking between services, volume strategies (bind mounts for code, named volumes for data, anonymous volumes to preserve container dependencies), and multi-service orchestration. It also addresses the less glamorous side: building hardened CLI installer harnesses and testing installers across Linux distributions, plus planning accurate native validation on macOS and Windows where containers behave differently. By @affaan-m, listed here with credit to its creator. From the affaan-m/ECC repository (MIT). Honest caveats: the hands-on parts assume Docker is installed and running on your machine; examples lean toward Node.js and Postgres but the Compose patterns transfer to any stack. Skill Harbor never reviews the code, review it yourself before use.
Version:
Install
Copy the install package below, then paste it into MuseCommunity-built. Skill Harbor doesn't audit code — review the source before installing.
Use "Docker Patterns" with your Muse. Prerequisites: the Muse app (mobile or web), and Docker installed locally for the hands-on parts. Pure guidance skill otherwise. 1. Open the skill: https://github.com/affaan-m/ECC/blob/main/skills/docker-patterns/SKILL.md and copy the full SKILL.md text. 2. Paste it into a chat with Muse and add: "Set up a Docker Compose dev stack for [my project]: [stack, e.g. Node + Postgres + Redis]. I want hot reload and health-checked dependencies." 3. Ask Muse to draft the compose file and Dockerfiles following the skill's patterns (multi-stage build, bind mounts for code, named volumes for data), then review the security notes before you build. Tip: the anonymous-volume trick for node_modules (mount code, but keep container deps) fixes the most common "it works on my machine" Compose bug. Ask about it explicitly. Safety: a skill is plain-text instructions; it runs nothing by itself. Review any Dockerfile or compose file before running it, never paste secrets into a chat, and review anything Muse proposes before it acts.
Saved to your recent installs. Find it anytime on /connect.
Questions
How do I install a build?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the build up for you — no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.
What does the ✓ next to a creator’s name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a build before installing it.