# HostConfigAllOf ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **binds** | Option<**Vec**> | A list of volume bindings for this container. Each volume binding is a string in one of these forms: - `host-src:container-dest[:options]` to bind-mount a host path into the container. Both `host-src`, and `container-dest` must be an _absolute_ path. - `volume-name:container-dest[:options]` to bind-mount a volume managed by a volume driver into the container. `container-dest` must be an _absolute_ path. `options` is an optional, comma-delimited list of: - `nocopy` disables automatic copying of data from the container path to the volume. The `nocopy` flag only applies to named volumes. - `[ro|rw]` mounts a volume read-only or read-write, respectively. If omitted or set to `rw`, volumes are mounted read-write. - `[z|Z]` applies SELinux labels to allow or deny multiple containers to read and write to the same volume. - `z`: a _shared_ content label is applied to the content. This label indicates that multiple containers can share the volume content, for both reading and writing. - `Z`: a _private unshared_ label is applied to the content. This label indicates that only the current container can use a private volume. Labeling systems such as SELinux require proper labels to be placed on volume content that is mounted into a container. Without a label, the security system can prevent a container's processes from using the content. By default, the labels set by the host operating system are not modified. - `[[r]shared|[r]slave|[r]private]` specifies mount [propagation behavior](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt). This only applies to bind-mounted volumes, not internal volumes or named volumes. Mount propagation requires the source mount point (the location where the source directory is mounted in the host operating system) to have the correct propagation properties. For shared volumes, the source mount point must be set to `shared`. For slave volumes, the mount must be set to either `shared` or `slave`. | [optional] **container_id_file** | Option<**String**> | Path to a file where the container ID is written | [optional] **log_config** | Option<[**crate::models::HostConfigAllOfLogConfig**](HostConfig_allOf_LogConfig.md)> | | [optional] **network_mode** | Option<**String**> | Network mode to use for this container. Supported standard values are: `bridge`, `host`, `none`, and `container:`. Any other value is taken as a custom network's name to which this container should connect to. | [optional] **port_bindings** | Option<[**::std::collections::HashMap>**](array.md)> | PortMap describes the mapping of container ports to host ports, using the container's port-number and protocol as key in the format `/`, for example, `80/udp`. If a container's port is mapped for multiple protocols, separate entries are added to the mapping table. | [optional] **restart_policy** | Option<[**crate::models::RestartPolicy**](RestartPolicy.md)> | | [optional] **auto_remove** | Option<**bool**> | Automatically remove the container when the container's process exits. This has no effect if `RestartPolicy` is set. | [optional] **volume_driver** | Option<**String**> | Driver that this container uses to mount volumes. | [optional] **volumes_from** | Option<**Vec**> | A list of volumes to inherit from another container, specified in the form `[:]`. | [optional] **mounts** | Option<[**Vec**](Mount.md)> | Specification for mounts to be added to the container. | [optional] **console_size** | Option<**Vec**> | Initial console size, as an `[height, width]` array. | [optional] **cap_add** | Option<**Vec**> | A list of kernel capabilities to add to the container. Conflicts with option 'Capabilities'. | [optional] **cap_drop** | Option<**Vec**> | A list of kernel capabilities to drop from the container. Conflicts with option 'Capabilities'. | [optional] **cgroupns_mode** | Option<**String**> | cgroup namespace mode for the container. Possible values are: - `\"private\"`: the container runs in its own private cgroup namespace - `\"host\"`: use the host system's cgroup namespace If not specified, the daemon default is used, which can either be `\"private\"` or `\"host\"`, depending on daemon version, kernel support and configuration. | [optional] **dns** | Option<**Vec**> | A list of DNS servers for the container to use. | [optional] **dns_options** | Option<**Vec**> | A list of DNS options. | [optional] **dns_search** | Option<**Vec**> | A list of DNS search domains. | [optional] **extra_hosts** | Option<**Vec**> | A list of hostnames/IP mappings to add to the container's `/etc/hosts` file. Specified in the form `[\"hostname:IP\"]`. | [optional] **group_add** | Option<**Vec**> | A list of additional groups that the container process will run as. | [optional] **ipc_mode** | Option<**String**> | IPC sharing mode for the container. Possible values are: - `\"none\"`: own private IPC namespace, with /dev/shm not mounted - `\"private\"`: own private IPC namespace - `\"shareable\"`: own private IPC namespace, with a possibility to share it with other containers - `\"container:\"`: join another (shareable) container's IPC namespace - `\"host\"`: use the host system's IPC namespace If not specified, daemon default is used, which can either be `\"private\"` or `\"shareable\"`, depending on daemon version and configuration. | [optional] **cgroup** | Option<**String**> | Cgroup to use for the container. | [optional] **links** | Option<**Vec**> | A list of links for the container in the form `container_name:alias`. | [optional] **oom_score_adj** | Option<**i32**> | An integer value containing the score given to the container in order to tune OOM killer preferences. | [optional] **pid_mode** | Option<**String**> | Set the PID (Process) Namespace mode for the container. It can be either: - `\"container:\"`: joins another container's PID namespace - `\"host\"`: use the host's PID namespace inside the container | [optional] **privileged** | Option<**bool**> | Gives the container full access to the host. | [optional] **publish_all_ports** | Option<**bool**> | 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 `/proc/sys/net/ipv4/ip_local_port_range`. | [optional] **readonly_rootfs** | Option<**bool**> | Mount the container's root filesystem as read only. | [optional] **security_opt** | Option<**Vec**> | A list of string values to customize labels for MLS systems, such as SELinux. | [optional] **storage_opt** | Option<**::std::collections::HashMap**> | Storage driver options for this container, in the form `{\"size\": \"120G\"}`. | [optional] **tmpfs** | Option<**::std::collections::HashMap**> | 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\" } ``` | [optional] **uts_mode** | Option<**String**> | UTS namespace to use for the container. | [optional] **userns_mode** | Option<**String**> | Sets the usernamespace mode for the container when usernamespace remapping option is enabled. | [optional] **shm_size** | Option<**i64**> | Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. | [optional] **sysctls** | Option<**::std::collections::HashMap**> | A list of kernel parameters (sysctls) to set in the container. For example: ``` {\"net.ipv4.ip_forward\": \"1\"} ``` | [optional] **runtime** | Option<**String**> | Runtime to use with this container. | [optional] **isolation** | Option<**String**> | Isolation technology of the container. (Windows only) | [optional] **masked_paths** | Option<**Vec**> | The list of paths to be masked inside the container (this overrides the default set of paths). | [optional] **readonly_paths** | Option<**Vec**> | The list of paths to be set as read-only inside the container (this overrides the default set of paths). | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)