API-Docker

 view release on metacpan or  search on metacpan

lib/API/Docker/Type/SystemInfo.pm  view on Meta::CPAN

docker id => Str, wire => 'ID';


docker containers => Int;


docker containers_running => Int;


docker containers_paused => Int;


docker containers_stopped => Int;


docker images => Int;


docker driver => Str;


docker driver_status => [[Str]];


docker docker_root_dir => Str;


docker plugins => 'PluginsInfo';


docker memory_limit => Bool;


docker swap_limit => Bool;


docker kernel_memory_tcp => Bool, wire => 'KernelMemoryTCP';


docker cpu_cfs_period => Bool;


docker cpu_cfs_quota => Bool;


docker cpu_shares => Bool, wire => 'CPUShares';


docker cpu_set => Bool, wire => 'CPUSet';


docker pids_limit => Bool;


docker oom_kill_disable => Bool;


docker ipv4_forwarding => Bool, wire => 'IPv4Forwarding';


docker debug => Bool;


docker n_fd => Int;


docker n_goroutines => Int;


docker system_time => Str;


docker logging_driver => Str;


docker cgroup_driver => Str, enum => [qw( cgroupfs systemd none )];


docker cgroup_version => Str, enum => [qw( 1 2 )];


docker n_events_listener => Int;


docker kernel_version => Str;


docker operating_system => Str;


docker os_version => Str, wire => 'OSVersion';


docker os_type => Str, wire => 'OSType';


docker architecture => Str;


docker n_cpu => Int, wire => 'NCPU';


docker mem_total => Int;


docker index_server_address => Str;


docker registry_config => 'RegistryServiceConfig';


docker generic_resources => [ 'GenericResource' ];


docker http_proxy => Str;


docker https_proxy => Str;


docker no_proxy => Str;

lib/API/Docker/Type/SystemInfo.pm  view on Meta::CPAN


=head2 memory_limit

Indicates if the host has memory limit support enabled.

=head2 swap_limit

Indicates if the host has memory swap limit support enabled.

=head2 kernel_memory_tcp

Indicates if the host has kernel memory TCP limit support enabled. This
field is omitted if not supported.

Kernel memory TCP limits are not supported when using cgroups v2, which does
not support the corresponding C<memory.kmem.tcp.limit_in_bytes> cgroup.

B<Deprecated>: This field is deprecated as kernel 6.12 has deprecated kernel
memory TCP accounting. Serialised as C<KernelMemoryTCP> -- spelled out,
because deriving it from the Perl name would produce C<KernelMemoryTcp>.

=head2 cpu_cfs_period

Indicates if CPU CFS(Completely Fair Scheduler) period is supported by the
host.

=head2 cpu_cfs_quota

Indicates if CPU CFS(Completely Fair Scheduler) quota is supported by the
host.

=head2 cpu_shares

Indicates if CPU Shares limiting is supported by the host. Serialised as
C<CPUShares> -- spelled out, because deriving it from the Perl name would
produce C<CpuShares>.

=head2 cpu_set

Indicates if CPUsets (cpuset.cpus, cpuset.mems) are supported by the host.

See
L<cpuset(7)|https://www.kernel.org/doc/Documentation/cgroup-v1/cpusets.txt>
Serialised as C<CPUSet> -- spelled out, because deriving it from the Perl
name would produce C<CpuSet>.

=head2 pids_limit

Indicates if the host kernel has PID limit support enabled.

=head2 oom_kill_disable

Indicates if OOM killer disable is supported on the host.

=head2 ipv4_forwarding

Indicates IPv4 forwarding is enabled. Serialised as C<IPv4Forwarding> --
spelled out, because deriving it from the Perl name would produce
C<Ipv4Forwarding>.

=head2 debug

Indicates if the daemon is running in debug-mode / with debug-level logging
enabled.

=head2 n_fd

The total number of file Descriptors in use by the daemon process.

This information is only returned if debug-mode is enabled.

=head2 n_goroutines

The number of goroutines that currently exist.

This information is only returned if debug-mode is enabled.

=head2 system_time

Current system-time in L<RFC 3339|https://www.ietf.org/rfc/rfc3339.txt>
format with nano-seconds.

=head2 logging_driver

The logging driver to use as a default for new containers.

=head2 cgroup_driver

The driver to use for managing cgroups. The swagger enumerates C<cgroupfs>,
C<systemd> and C<none>. The daemon defaults it to cgroupfs.

=head2 cgroup_version

The version of the cgroup. The swagger enumerates C<1> and C<2>. The daemon
defaults it to 1.

=head2 n_events_listener

Number of event listeners subscribed.

=head2 kernel_version

Kernel version of the host.

On Linux, this information obtained from C<uname>. On Windows this
information is queried from the
C<HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\>
registry value, for example _"10.0 14393
(14393.1198.amd64fre.rs1_release_sec.170427-1353)"_.

=head2 operating_system

Name of the host's operating system, for example: "Ubuntu 24.04 LTS" or
"Windows Server 2016 Datacenter".

=head2 os_version

Version of the host's operating system

> B<Note>: The information returned in this field, including its > very
existence, and the formatting of values, should not be considered > stable,
and may change without notice. Serialised as C<OSVersion> -- spelled out,
because deriving it from the Perl name would produce C<OsVersion>.

=head2 os_type

Generic type of the operating system of the host, as returned by the Go
runtime (C<GOOS>).

Currently returned values are "linux" and "windows". A full list of possible
values can be found in the L<Go
documentation|https://go.dev/doc/install/source#environment>. Serialised as
C<OSType> -- spelled out, because deriving it from the Perl name would
produce C<OsType>.

=head2 architecture



( run in 2.043 seconds using v1.01-cache-2.11-cpan-c32d3c3b8f1 )