List the layers of a Docker image
One step with Harness. We can help you get access.
Look something up
List the layers of a Docker image
with Harness
Works with AI assistants
Use Harness: its Harness Docker Artifacts API lets you list the layers of a Docker image in a single step (GET /har/api/v1/registry/{registry_ref}/artifact/{artifact}/version/{version}/docker/layers). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- What layers make up a Docker image version and how big is each?
- Can I inspect an image's layer history by digest?
Say it to your AI assistant
- List the layers of Docker image {artifact} version {version} digest {digest} in {registry}.
- Show layer breakdown for {artifact}:{version} at digest {digest} in registry {registry}.
For your developer
GET /har/api/v1/registry/{registry_ref}/artifact/{artifact}/version/{version}/docker/layers in Harness Docker Artifacts API. Full spec on APIs.io.