types.containers

Module Contents

Classes

LogConfigTypesEnum()
LogConfig(self,**kwargs)
Ulimit(self,**kwargs)
HostConfig(self,version,binds=None,port_bindings=None,lxc_conf=None,publish_all_ports=False,links=None,privileged=False,dns=None,dns_search=None,volumes_from=None,network_mode=None,restart_policy=None,cap_add=None,cap_drop=None,devices=None,extra_hosts=None,read_only=None,pid_mode=None,ipc_mode=None,security_opt=None,ulimits=None,log_config=None,mem_limit=None,memswap_limit=None,mem_reservation=None,kernel_memory=None,mem_swappiness=None,cgroup_parent=None,group_add=None,cpu_quota=None,cpu_period=None,blkio_weight=None,blkio_weight_device=None,device_read_bps=None,device_write_bps=None,device_read_iops=None,device_write_iops=None,oom_kill_disable=False,shm_size=None,sysctls=None,tmpfs=None,oom_score_adj=None,dns_opt=None,cpu_shares=None,cpuset_cpus=None,userns_mode=None,pids_limit=None,isolation=None,auto_remove=False,storage_opt=None,init=None,init_path=None,volume_driver=None,cpu_count=None,cpu_percent=None,nano_cpus=None,cpuset_mems=None,runtime=None,mounts=None,cpu_rt_period=None,cpu_rt_runtime=None,device_cgroup_rules=None)
ContainerConfig(self,version,image,command,hostname=None,user=None,detach=False,stdin_open=False,tty=False,ports=None,environment=None,volumes=None,network_disabled=False,entrypoint=None,working_dir=None,domainname=None,host_config=None,mac_address=None,labels=None,stop_signal=None,networking_config=None,healthcheck=None,stop_timeout=None,runtime=None)

Functions

host_config_type_error(param,param_value,expected)
host_config_version_error(param,version,less_than=True)
host_config_value_error(param,param_value)
class LogConfigTypesEnum
class LogConfig(**kwargs)
__init__(**kwargs)
type()
type(value)
config()
set_config_value(key, value)
unset_config(key)
class Ulimit(**kwargs)
__init__(**kwargs)
name()
name(value)
soft()
soft(value)
hard()
hard(value)
class HostConfig(version, binds=None, port_bindings=None, lxc_conf=None, publish_all_ports=False, links=None, privileged=False, dns=None, dns_search=None, volumes_from=None, network_mode=None, restart_policy=None, cap_add=None, cap_drop=None, devices=None, extra_hosts=None, read_only=None, pid_mode=None, ipc_mode=None, security_opt=None, ulimits=None, log_config=None, mem_limit=None, memswap_limit=None, mem_reservation=None, kernel_memory=None, mem_swappiness=None, cgroup_parent=None, group_add=None, cpu_quota=None, cpu_period=None, blkio_weight=None, blkio_weight_device=None, device_read_bps=None, device_write_bps=None, device_read_iops=None, device_write_iops=None, oom_kill_disable=False, shm_size=None, sysctls=None, tmpfs=None, oom_score_adj=None, dns_opt=None, cpu_shares=None, cpuset_cpus=None, userns_mode=None, pids_limit=None, isolation=None, auto_remove=False, storage_opt=None, init=None, init_path=None, volume_driver=None, cpu_count=None, cpu_percent=None, nano_cpus=None, cpuset_mems=None, runtime=None, mounts=None, cpu_rt_period=None, cpu_rt_runtime=None, device_cgroup_rules=None)
__init__(version, binds=None, port_bindings=None, lxc_conf=None, publish_all_ports=False, links=None, privileged=False, dns=None, dns_search=None, volumes_from=None, network_mode=None, restart_policy=None, cap_add=None, cap_drop=None, devices=None, extra_hosts=None, read_only=None, pid_mode=None, ipc_mode=None, security_opt=None, ulimits=None, log_config=None, mem_limit=None, memswap_limit=None, mem_reservation=None, kernel_memory=None, mem_swappiness=None, cgroup_parent=None, group_add=None, cpu_quota=None, cpu_period=None, blkio_weight=None, blkio_weight_device=None, device_read_bps=None, device_write_bps=None, device_read_iops=None, device_write_iops=None, oom_kill_disable=False, shm_size=None, sysctls=None, tmpfs=None, oom_score_adj=None, dns_opt=None, cpu_shares=None, cpuset_cpus=None, userns_mode=None, pids_limit=None, isolation=None, auto_remove=False, storage_opt=None, init=None, init_path=None, volume_driver=None, cpu_count=None, cpu_percent=None, nano_cpus=None, cpuset_mems=None, runtime=None, mounts=None, cpu_rt_period=None, cpu_rt_runtime=None, device_cgroup_rules=None)
host_config_type_error(param, param_value, expected)
host_config_version_error(param, version, less_than=True)
host_config_value_error(param, param_value)
class ContainerConfig(version, image, command, hostname=None, user=None, detach=False, stdin_open=False, tty=False, ports=None, environment=None, volumes=None, network_disabled=False, entrypoint=None, working_dir=None, domainname=None, host_config=None, mac_address=None, labels=None, stop_signal=None, networking_config=None, healthcheck=None, stop_timeout=None, runtime=None)
__init__(version, image, command, hostname=None, user=None, detach=False, stdin_open=False, tty=False, ports=None, environment=None, volumes=None, network_disabled=False, entrypoint=None, working_dir=None, domainname=None, host_config=None, mac_address=None, labels=None, stop_signal=None, networking_config=None, healthcheck=None, stop_timeout=None, runtime=None)