Image and Container Metadata: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 13: Line 13:


==Id==
==Id==
For images, the unique identifier of the images.
For containers, the unique identifier of the container.
   
   
  "Id": "sha256:6902f4d604b94bddc603cba267ac61fb86c7602d121fa7cdd0c1f2526897a32e"
  "Id": "sha256:6902f4d604b94bddc603cba267ac61fb86c7602d121fa7cdd0c1f2526897a32e"

Revision as of 18:11, 5 December 2017

Internal

Overview

Generated with docker inspect, in the form of a JSON array.

TODO: differences between a container and an image metadata.

Elements

Id

For images, the unique identifier of the images.

For containers, the unique identifier of the container.

"Id": "sha256:6902f4d604b94bddc603cba267ac61fb86c7602d121fa7cdd0c1f2526897a32e"

RepoTags

"RepoTags": [ "registry.access.redhat.com/rhscl/postgresql-95-rhel7:latest" ]

RepoDigests

"RepoDigests": [ "registry.access.redhat.com/rhscl/postgresql-95-rhel7@sha256:33888776920331bc37ae17692bac043210305aa35ed444cf5eded89f8311d0d7"  ]

Parent

Comment

Created

"Created": "2017-11-22T15:23:09.730226Z"

Container

ContainerConfig

Hostname

Domainname

User

AttachStdin

AttachStdout

AttachStderr

ExposedPorts

Tty

OpenStdin

StdinOnce

Env

Cmd

ArgsEscaped

Image

Volumes

WorkingDir

Entrypoint

OnBuild

Labels

DockerVersion

Author

Config

Hostname

Domainname

User

AttachStdin

AttachStdout

AttachStderr

ExposedPorts

Tty

OpenStdin

StdinOnce

Env

Cmd

ArgsEscaped

Image

Volumes

WorkingDir

Entrypoint

OnBuild

Labels

Architecture

Os

Size

VirtualSize

GraphDriver

RootFS

Type

"Type": "layers"

Layers

[
  "sha256:e1d829eddb62dc49f1c56dbf8acd0c71299b3996115399de853a9d66d81b822f",
  "sha256:02404b4d7e5d89b1383ca346b4462b199128aa4b238c5a2b2c186004ac148ba8",
  "sha256:808f296bc8ac99056e0cbba79e2b253fff2c3c963927be1a9acd182bbc90538e"
]