diff --git a/docs/reference/commandline/build.md b/docs/reference/commandline/build.md index 2f8c59c387..5b6f1fec61 100644 --- a/docs/reference/commandline/build.md +++ b/docs/reference/commandline/build.md @@ -49,7 +49,7 @@ Options: -q, --quiet Suppress the build output and print image ID on success --rm Remove intermediate containers after a successful build (default true) --security-opt value Security Options (default []) - --shm-size string Size of /dev/shm, default value is 64MB. + --shm-size bytes Size of /dev/shm The format is ``. `number` must be greater than `0`. Unit is optional and can be `b` (bytes), `k` (kilobytes), `m` (megabytes), or `g` (gigabytes). If you omit the unit, the system uses bytes. diff --git a/docs/reference/commandline/create.md b/docs/reference/commandline/create.md index 3587e03fd0..cbb9598a78 100644 --- a/docs/reference/commandline/create.md +++ b/docs/reference/commandline/create.md @@ -107,7 +107,7 @@ Options: --rm Automatically remove the container when it exits --runtime string Runtime to use for this container --security-opt value Security Options (default []) - --shm-size string Size of /dev/shm, default value is 64MB. + --shm-size bytes Size of /dev/shm The format is ``. `number` must be greater than `0`. Unit is optional and can be `b` (bytes), `k` (kilobytes), `m` (megabytes), or `g` (gigabytes). If you omit the unit, the system uses bytes. diff --git a/docs/reference/commandline/run.md b/docs/reference/commandline/run.md index 3cddb9d374..837ba79b9e 100644 --- a/docs/reference/commandline/run.md +++ b/docs/reference/commandline/run.md @@ -117,7 +117,7 @@ Options: --rm Automatically remove the container when it exits --runtime string Runtime to use for this container --security-opt value Security Options (default []) - --shm-size string Size of /dev/shm, default value is 64MB. + --shm-size bytes Size of /dev/shm The format is ``. `number` must be greater than `0`. Unit is optional and can be `b` (bytes), `k` (kilobytes), `m` (megabytes), or `g` (gigabytes). If you omit the unit, the system uses bytes. diff --git a/docs/reference/commandline/service_create.md b/docs/reference/commandline/service_create.md index 08771272a7..9992996597 100644 --- a/docs/reference/commandline/service_create.md +++ b/docs/reference/commandline/service_create.md @@ -39,7 +39,7 @@ Options: --hostname string Container hostname -l, --label list Service labels (default []) --limit-cpu decimal Limit CPUs (default 0.000) - --limit-memory bytes Limit Memory (default 0 B) + --limit-memory bytes Limit Memory --log-driver string Logging driver for service --log-opt list Logging driver options (default []) --mode string Service mode (replicated or global) (default "replicated") @@ -51,7 +51,7 @@ Options: --read-only Mount the container's root filesystem as read only --replicas uint Number of tasks --reserve-cpu decimal Reserve CPUs (default 0.000) - --reserve-memory bytes Reserve Memory (default 0 B) + --reserve-memory bytes Reserve Memory --restart-condition string Restart when condition is met (none, on-failure, or any) --restart-delay duration Delay between restart attempts (ns|us|ms|s|m|h) --restart-max-attempts uint Maximum number of restarts before giving up diff --git a/docs/reference/commandline/service_update.md b/docs/reference/commandline/service_update.md index 654c59b875..0afbc3bb15 100644 --- a/docs/reference/commandline/service_update.md +++ b/docs/reference/commandline/service_update.md @@ -50,7 +50,7 @@ Options: --label-add list Add or update a service label (default []) --label-rm list Remove a label by its key (default []) --limit-cpu decimal Limit CPUs (default 0.000) - --limit-memory bytes Limit Memory (default 0 B) + --limit-memory bytes Limit Memory --log-driver string Logging driver for service --log-opt list Logging driver options (default []) --mount-add mount Add or update a mount on a service @@ -61,7 +61,7 @@ Options: --read-only Mount the container's root filesystem as read only --replicas uint Number of tasks --reserve-cpu decimal Reserve CPUs (default 0.000) - --reserve-memory bytes Reserve Memory (default 0 B) + --reserve-memory bytes Reserve Memory --restart-condition string Restart when condition is met (none, on-failure, or any) --restart-delay duration Delay between restart attempts (ns|us|ms|s|m|h) --restart-max-attempts uint Maximum number of restarts before giving up