NAME

API::Docker::Type::ContainerInspectResponse - The body of the 200 response to GET /containers/{id}/json

VERSION

version 0.004

DESCRIPTION

Generated from the ContainerInspectResponse definition of spec/v1.51.yaml, which the swagger leaves undescribed. paths: says what it is: the body of the 200 response to GET /containers/{id}/json.

id

The ID of this container as a 128-bit (64-character) hexadecimal string (32 bytes).

created

Date and time at which the container was created, formatted in RFC 3339 format with nano-seconds.

path

The path to the command being run.

args

The arguments to the command being run.

state

ContainerState stores container's running state. See API::Docker::Type::ContainerState.

image

The ID (digest) of the image that this container was created from.

resolv_conf_path

Location of the /etc/resolv.conf generated for the container on the host.

This file is managed through the docker daemon, and should not be accessed or modified by other tools.

hostname_path

Location of the /etc/hostname generated for the container on the host.

This file is managed through the docker daemon, and should not be accessed or modified by other tools.

hosts_path

Location of the /etc/hosts generated for the container on the host.

This file is managed through the docker daemon, and should not be accessed or modified by other tools.

log_path

Location of the file used to buffer the container's logs. Depending on the logging-driver used for the container, this field may be omitted.

This file is managed through the docker daemon, and should not be accessed or modified by other tools.

name

The name associated with this container.

For historic reasons, the name may be prefixed with a forward-slash (/).

restart_count

Number of times the container was restarted since it was created, or since daemon was started.

driver

The storage-driver used for the container's filesystem (graph-driver or snapshotter).

platform

The platform (operating system) for which the container was created.

This field was introduced for the experimental "LCOW" (Linux Containers On Windows) features, which has been removed. In most cases, this field is equal to the host's operating system (linux or windows).

image_manifest_descriptor

OCI descriptor of the platform-specific manifest of the image the container was created from.

Note: Only available if the daemon provides a multi-platform image store. See API::Docker::Type::OCIDescriptor.

mount_label

SELinux mount label set for the container.

process_label

SELinux process label set for the container.

app_armor_profile

The AppArmor profile set for the container.

exec_ids

IDs of exec instances that are running in the container. Serialised as ExecIDs -- spelled out, because deriving it from the Perl name would produce ExecIds.

host_config

Container configuration that depends on the host we are running on. See API::Docker::Type::HostConfig.

graph_driver

Information about the storage driver used to store the container's and image's filesystem. See API::Docker::Type::DriverData.

size_rw

The size of files that have been created or changed by this container.

This field is omitted by default, and only set when size is requested in the API request.

size_root_fs

The total size of all files in the read-only layers from the image that the container uses. These layers can be shared between containers.

This field is omitted by default, and only set when size is requested in the API request.

mounts

List of mounts used by the container. See API::Docker::Type::MountPoint.

config

Configuration for a container that is portable between hosts. See API::Docker::Type::ContainerConfig.

network_settings

NetworkSettings exposes the network settings in the API. See API::Docker::Type::NetworkSettings.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-api-docker/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.