Image and Container Metadata: Difference between revisions

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


==ContainerConfig==
==ContainerConfig==
===Hostname===
===Domainname===
===User===
===AttachStdin===
===AttachStdout===
===AttachStderr===
===ExposedPorts===
===Tty===
===OpenStdin===
===StdinOnce===
===Env===
===Cmd===
===ArgsEscaped===
===Image===
===Volumes===
===WorkingDir===
===Entrypoint===
===OnBuild===
===Labels===


==DockerVersion==
==DockerVersion==

Revision as of 17:50, 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

"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

Architecture

Os

Size

VirtualSize

GraphDriver

RootFS