tmpfs: An in-memory mount that never touches disk and vanishes when the container stops. For secrets and scratch data. A tmpfs mount in Docker is a folder stored in memory instead of on disk. It disappears completely when the container stops. That makes it useful for temporary files that should never touch the disk, such as decrypted secrets, session files or scratch space, and for speed when a program writes many small temporary files.
Set a size limit, as in --tmpfs /tmp:size=64m, because memory used by tmpfs counts towards the container's memory limit. A runaway process filling it can get the container killed. In Kubernetes, the equivalent is an emptyDir volume with medium: Memory. Combined with a read-only root file system, tmpfs mounts give an application exactly the writable space it needs and nothing more.
Use this skill when creating, modifying, or debugging Docker Compose configurations, even if the user just says they need to wire services together, add a database to their stack, or set up a local development environment with multiple containers. Covers service definitions, health checks, dependency ordering, volumes, networks, environment variables, and development overrides.
Use this skill before running, or recommending, any Docker command that deletes, wipes, resets, or otherwise irreversibly changes state — even if the user just says to "clean up", "clear the cache", "start fresh", "wipe everything", "nuke it", "reset", "force remove", or "tear down" Docker resources. Covers generic Docker CLI destructive operations not owned by a more specific skill — `docker rm`,
Use this skill when setting up, initializing, or Dockerizing a project, even if the user doesn't explicitly mention Docker but describes a need for containerized local development, adding a database or cache dependency, or running services without host-level installs. Covers Dockerfile, compose.yaml, and .dockerignore creation with Docker best practices.