ワンクリックで
docker-knowledge-patch
Docker
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Docker
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
AlmaLinux
Angular
Arch Linux
Astro
Auth.js
AWS SDK
| name | docker-knowledge-patch |
| description | Docker |
| license | MIT |
| version | 29.3 |
| metadata | {"author":"Nevaberry"} |
Baseline: Docker Engine 24.x and Compose 2.x. Covered range: Engine 25.0.0 through 29.3, Engine API v1.44 through v1.55, Compose 5.0.0 through 5.3.0, Buildx 0.30.0 through 0.35.0, BuildKit 0.28.0, and Dockerfile 1.22.0.
Included versioned batches: 25.0.0, 26.0.0, 27.0.1, 28.0.0, 0.30.0, 5.0.0, 0.31.0, 5.1.0, 0.28.0, 1.22.0, 0.32.0, 0.33.0, 0.34.0, 0.35.0, 5.2.0, and 5.3.0.
| Reference | Topics |
|---|---|
| runtime.md | Daemon startup and reload, storage, mounts, resources, security, rootless, Windows, Swarm, platform support |
| networking.md | Attachments, DNS, IPv4/IPv6, IPAM, gateway modes, firewall backends, routing |
| images-registry.md | Image store, archives, platform selection, manifests, formats, registry behavior, provenance |
| engine-api.md | API compatibility, schema changes, event framing, inspection, updates, deprecations |
| go-sdk-cli.md | Go modules and client migrations, removed APIs, CLI behavior and embedding |
| buildx.md | Bake, exporters, Imagetools, source policies, builders, provenance, resources |
| buildkit-dockerfile.md | BuildKit sources and verification, provenance, deployment, Dockerfile frontend and linting |
| compose.md | Compose 5 migration, builds, lifecycle, providers, publish, watch, output, init containers |
userns-remap temporarily prevents use of the containerd store.LimitNOFILE, changing the container default from 1048576 to 1024. Set --ulimit or default-ulimits for workloads that require more descriptors.{
"default-ulimits": {
"nofile": { "Name": "nofile", "Soft": 1048576, "Hard": 1048576 }
}
}
docker image ls now uses a collapsed tree and hides untagged images unless --all is set. Give scripts an explicit --format.DOCKER_KEEP_DEPRECATED_LEGACY_LINKS_ENV_VARS=1 is only a temporary compatibility switch.ipset support and installs redesigned iptables/ip6tables rules. Before downgrading, remove those rules; rebooting is the simplest documented cleanup.nat-unprotected gateway mode.DOCKER-ISOLATION-STAGE-1 and DOCKER-ISOLATION-STAGE-2 chains. Without the userland proxy, cross-network reachability through host-published ports and nat-unprotected networks can increase.ip6tables filtering became stable and default-enabled in 27.0.1. A host that enables IPv6 forwarding independently owns its FORWARD policy.VirtualSize; Engine 26.0.0 removes API versions below v1.24 and image Container/ContainerConfig fields.GraphDriver with the containerd backend. Read per-network data from NetworkSettings.Networks and tolerate absent optional fields./system/df arrays in favor of usage summaries and deprecates /grpc and /session.null update fields from empty arrays, which clear rules.application/json-seq is accepted in v1.52, and application/jsonl is accepted in v1.53.--tls=false or --tlsverify=false. Use verified TLS, a Unix socket, or SSH.github.com/docker/docker. Use github.com/moby/moby/client and github.com/moby/moby/api; the parent github.com/moby/moby module is internal, release tags use docker-v29.0.0 form, and the SDK requires Go 1.24 or newer.NewClient and NewEnvClient; replace ImageCreate with ImagePull or ImageImport.ContainerExec... methods become Exec..., while pull/push results expose JSONMessages iterators.netip.Addr and netip.Prefix, MAC values to byte slices compatible with net.HardwareAddr, and container Port to PortSummary.Run... helpers. Build on the supported client modules or provide a separate command layer.docker compose ps --format json emits JSON Lines, not one JSON array. Consume each line as a separate JSON value.Use type=image (since 28.0.0) and optionally select an internal path with image-subpath:
docker run --mount type=image,source=alpine:latest,target=/mnt,image-subpath=etc alpine:latest
Use bind-create-src when a missing bind source should be created. Replace removed bind-nonrecursive with bind-recursive=disabled:
docker run --mount type=bind,src=/host/data,dst=/data,bind-recursive=disabled IMAGE
Anonymous volumes may now be read-only without naming a source.
docker image push --platform selects one manifest (since 27.0.1).docker load, docker save, and docker history gained one-platform selection in 28.0.0.load and save; the API accepts repeated platform parameters.docker image save --platform linux/amd64,linux/arm64 -o app.tar app:tag
Choose the default gateway with extended --network syntax and gw-priority:
docker run --network=name=frontend --network=name=egress,gw-priority=100 IMAGE
Use gateway_mode_ipv4 or gateway_mode_ipv6 values nat, routed, nat-unprotected, or, for an internal network, isolated. Create IPv6-only networks with --ipv6 --ipv4=false where supported.
docker network create --ipv6 --ipv4=false v6-only
Configure per-endpoint interface sysctls with the IFNAME placeholder; API v1.48 no longer migrates container-wide eth0 sysctls automatically.
BUILDX_DEFAULT_POLICY verification for Docker pipeline images and global bake --policy options.docker buildx build --policy ./policy.rego .
docker buildx bake --policy ./policy.rego
mode=delete to replace rather than merge the destination. Outside the working directory, allow buildx.local.delete explicitly.buildx build --resource or Bake's resource key for CPU and memory limits; this requires BuildKit 0.31.0 or later and Dockerfile v1.25.0 or later.imagetools create --metadata-file to capture the created descriptor and digest.--timeout where offered to bound waits for remote builders.build.no_cache_filter to bypass cache only for named build stages.docker compose start --wait to wait for services after starting them.post_start hooks for compose run, and provider stop hooks during shutdown.docker compose publish honors optional missing environment files and checks literal inline environment values for sensitive data.depends_on services solely because of that relationship.dockerd --validate --config-file ... to validate configuration and host requirements.docker info.