image configuration

The small document inside an image that records its platform, default command, user, environment and layer list.

In more detail

Defined by the OCI image specification, the configuration holds fields such as Os, Architecture, Cmd, Entrypoint, Env, User, WorkingDir and rootfs. docker image inspect shows it. It is addressed by its own digest and referenced from the image manifest.

Example

docker inspect alpine:3.20 -f '{{.Config.Cmd}}'   # [/bin/sh]

Related terms

Taught in

References