skopeo-inspect - Man Page

Return low-level information about image-name in a registry.


skopeo inspect [options] image-name


Return low-level information about image-name in a registry

image-name name of image to retrieve information about


--authfile path
Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/containers/auth.json, which is set using skopeo login. If the authorization state is not found there, $HOME/.docker/config.json is checked, which is set using docker login.
--cert-dir path
Use certificates at path (*.crt, *.cert, *.key) to connect to the registry.
Output configuration in OCI format, default is to format in JSON format.
--creds username[:password]
Username and password for accessing the registry.
--format,  -f=format
Format the output using the given Go template. The keys of the returned JSON can be used as the values for the --format flag (see examples below).
Access the registry anonymously.
Output raw manifest or config data depending on --config option. The --format option is not supported with --raw option.
--registry-token Bearer token
Registry token for accessing the registry.
The number of times to retry; retry wait time will be exponentially increased based on the number of failed attempts.
Require HTTPS and verify certificates when talking to container registries (defaults to true).


To review information for the image fedora from the registry:

$ skopeo inspect docker://
    "Name": "",
    "Digest": "sha256:a97914edb6ba15deb5c5acf87bd6bd5b6b0408c96f48a5cbd450b5b04509bb7d",
    "RepoTags": [
    "Created": "2016-06-20T19:33:43.220526898Z",
    "DockerVersion": "1.10.3",
    "Labels": {},
    "Architecture": "amd64",
    "Os": "linux",
    "Layers": [
$ /bin/skopeo inspect --config docker:// --format "{{ .Architecture }}"
$ /bin/skopeo inspect --format '{{ .Env }}' docker://
[PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin container=oci]

See Also

skopeo(1), skopeo-login(1), docker-login(1), containers-auth.json(5)


Antonio Murdaca ⟨⟩, Miloslav Trmac ⟨⟩, Jhon Honce ⟨⟩

Referenced By

containers-transports(5), skopeo(1).