Created
August 10, 2017 22:50
-
-
Save amy/cffcb7e1dbb40371c45fc950f86a3edd to your computer and use it in GitHub Desktop.
test.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ --add-host Add a custom host-to-IP mapping (host:ip)~ | |
--attach, -a Attach to STDIN, STDOUT or STDERR | |
--blkio-weight Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0) | |
--blkio-weight-device Block IO weight (relative device weight) | |
--cgroup-parent Optional parent cgroup for the container | |
--cidfile Write the container ID to the file | |
--cpu-period Limit CPU CFS (Completely Fair Scheduler) period | |
--cpu-quota Limit CPU CFS (Completely Fair Scheduler) quota | |
--cpu-rt-period Limit CPU real-time period in microseconds | |
--cpu-rt-runtime Limit CPU real-time runtime in microseconds | |
-c CPU shares (relative weight) // cpu-shares is implemented, shortcut isn't | |
--cpus Number of CPUs | |
--cpuset-cpus CPUs in which to allow execution (0-3, 0,1) | |
--cpuset-mems MEMs in which to allow execution (0-3, 0,1) | |
--detach, -d Run container in background and print container ID | |
--detach-keys Override the key sequence for detaching a container | |
--device-cgroup-rule Add a rule to the cgroup allowed devices list | |
--device-read-bps Limit read rate (bytes per second) from a device | |
--device-read-iops Limit read rate (IO per second) from a device | |
--device-write-bps Limit write rate (bytes per second) to a device | |
--device-write-iops Limit write rate (IO per second) to a device | |
--disable-content-trust Skip image verification | |
--dns-opt Set DNS options | |
--dns-option Set DNS options | |
--env-file Read in a file of environment variables | |
--group-add Add additional groups to join | |
--health-cmd Command to run to check health | |
--health-interval Time between running the check (ms|s|m|h) (default 0s) | |
--health-retries Consecutive failures needed to report unhealthy | |
--health-start-period Start period for the container to initialize before starting health-retries countdown (ms|s|m|h) (default 0s) | |
--health-timeout Maximum time to allow one check to run (ms|s|m|h) (default 0s) | |
--help Print usage | |
-h Container host name // --hostname is implemented, shortcut isn't | |
--init Run an init inside the container that forwards signals and reaps processes | |
--ip IPv4 address (e.g., 172.30.100.104) | |
--ip6 IPv6 address (e.g., 2001:db8::33) | |
--ipc IPC namespace to use | |
--isolation Container isolation technology | |
--kernel-memory Kernel memory limit | |
--label-file Read in a line delimited file of labels | |
--link Add link to another container | |
--link-local-ip Container IPv4/IPv6 link-local addresses | |
--mac-address Container MAC address (e.g., 92:d0:c6:0a:29:33) | |
--memory-reservation Memory soft limit | |
--memory-swappiness Tune container memory swappiness (0 to 100) | |
--mount Attach a filesystem mount to the container | |
--net-alias Add network-scoped alias for the container | |
--network Connect a container to a network // --net is implemented, alias isn't | |
--network-alias Add network-scoped alias for the container | |
--no-healthcheck Disable any container-specified HEALTHCHECK | |
--oom-kill-disable Disable OOM Killer | |
--oom-score-adj Tune host’s OOM preferences (-1000 to 1000) | |
--pids-limit Tune container pids limit (set -1 for unlimited) | |
-P Publish all exposed ports to random ports // publish-all is implemented, shortcut isn't | |
--restart Restart policy to apply when a container exits | |
--rm Automatically remove the container when it exits | |
--runtime Runtime to use for this container | |
--shm-size Size of /dev/shm | |
--sig-proxy Proxy received signals to the process | |
--stop-signal Signal to stop a container | |
--stop-timeout Timeout (in seconds) to stop a container | |
--storage-opt Storage driver options for the container | |
--sysctl Sysctl options | |
--tmpfs Mount a tmpfs directory | |
--ulimit Ulimit options | |
--userns User namespace to use | |
--uts UTS namespace to use | |
--volumes-from Mount volumes from the specified container(s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment