Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Create ¶
type Create struct { CapAdd []string `usage:"Add Linux capabilities"` CapDrop []string `usage:"Drop Linux capabilities"` CgroupParent string `usage:"Optional parent cgroup for the container"` CpuPeriod int `usage:"Limit CPU CFS (Completely Fair Scheduler) period"` CpuQuota int `usage:"Limit CPU CFS (Completely Fair Scheduler) quota"` CpusetCpus string `usage:"CPUs in which to allow execution (0-3, 0,1)"` CpusetMems string `usage:"MEMs in which to allow execution (0-3, 0,1)"` Cpus string `usage:"Number of CPUs"` OomScoreAdj int `usage:"Tune host's OOM preferences (-1000 to 1000)"` L_Label []string `usage:"Set meta data on a container"` LabelFile []string `usage:"Read in a line delimited file of labels"` Dns []string `usage:"Set custom DNS servers"` DnsOption []string `usage:"Set DNS options"` DnsSearch []string `usage:"Set custom DNS search domains"` E_Env []string `usage:"Set environment variables"` EnvFile []string `usage:"Read in a file of environment variables"` Entrypoint string `usage:"Overwrite the default ENTRYPOINT of the image"` GroupAdd []string `usage:"Add additional groups to join"` Init bool `usage:"Run an init inside the container that forwards signals and reaps processes"` Hostname string `usage:"Container host name"` I_Interactive bool `usage:"Keep STDIN open even if not attached"` Name string `usage:"Assign a name to the container"` ReadOnly bool `usage:"Mount the container's root filesystem as read only"` Runtime string `usage:"Runtime to use for this container"` Sysctl map[string]string `usage:"Sysctl options (default map[])"` T_Tty bool `usage:"Allocate a pseudo-TTY"` U_User string `usage:"Username or UID (format: <name|uid>[:<group|gid>])"` W_Workdir string `usage:"Working directory inside the container"` Pid string `usage:"PID namespace to use"` Net string `usage:"Connect a container to a network"` Ipc string `usage:"IPC mode to use"` Privileged bool `usage:"Give extended privileges to this container"` M_Memory string `usage:"Memory limit"` V_Volume []string `usage:"Bind mount a volume (format: [/host-src:]/container-dest[:ro])"` P_Publish []string `usage:"Publish a container's port(s) to the host (format [src:]dst[/tcp|/udp])"` }
Click to show internal directories.
Click to hide internal directories.