API-Docker
view release on metacpan or search on metacpan
lib/API/Docker/Type/HostConfig.pm view on Meta::CPAN
IPC sharing mode for the container. Possible values are:
=over 4
=item * C<"none">: own private IPC namespace, with /dev/shm not mounted
=item * C<"private">: own private IPC namespace
=item * C<"shareable">: own private IPC namespace, with a possibility to
share it with other containers
=item * C<< "container:<name|id>" >>: join another (shareable) container's
IPC namespace
=item * C<"host">: use the host system's IPC namespace
=back
If not specified, daemon default is used, which can either be C<"private">
or C<"shareable">, depending on daemon version and configuration.
=head2 cgroup
Cgroup to use for the container.
=head2 links
A list of links for the container in the form C<container_name:alias>.
=head2 oom_score_adj
An integer value containing the score given to the container in order to
tune OOM killer preferences.
=head2 pid_mode
Set the PID (Process) Namespace mode for the container. It can be either:
=over 4
=item * C<< "container:<name|id>" >>: joins another container's PID
namespace
=item * C<"host">: use the host's PID namespace inside the container
=back
=head2 privileged
Gives the container full access to the host.
=head2 publish_all_ports
Allocates an ephemeral host port for all of a container's exposed ports.
Ports are de-allocated when the container stops and allocated when the
container starts. The allocated port might be changed when restarting the
container.
The port is selected from the ephemeral port range that depends on the
kernel. For example, on Linux the range is defined by
C</proc/sys/net/ipv4/ip_local_port_range>.
=head2 readonly_rootfs
Mount the container's root filesystem as read only.
=head2 security_opt
A list of string values to customize labels for MLS systems, such as
SELinux.
=head2 storage_opt
Storage driver options for this container, in the form C<{"size": "120G"}>.
B<The keys are the caller's data> and are never translated.
=head2 tmpfs
A map of container directories which should be replaced by tmpfs mounts, and
their corresponding mount options. For example:
{ "/run": "rw,noexec,nosuid,size=65536k" }
B<The keys are the caller's data> and are never translated.
=head2 uts_mode
UTS namespace to use for the container. Serialised as C<UTSMode> -- spelled
out, because deriving it from the Perl name would produce C<UtsMode>.
=head2 userns_mode
Sets the usernamespace mode for the container when usernamespace remapping
option is enabled.
=head2 shm_size
Size of C</dev/shm> in bytes. If omitted, the system uses 64MB.
=head2 sysctls
A list of kernel parameters (sysctls) to set in the container.
This field is omitted if not set. The swagger's example is C<<
{"net.ipv4.ip_forward": "1"} >>. B<The keys are the caller's data> and are
never translated.
=head2 runtime
Runtime to use with this container.
=head2 isolation
Isolation technology of the container. (Windows only). The swagger
enumerates C<default>, C<process>, C<hyperv> and the empty string.
=head2 masked_paths
The list of paths to be masked inside the container (this overrides the
( run in 0.665 second using v1.01-cache-2.11-cpan-e623d60df62 )