You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build an image on.\n\nA good example is `http_proxy` or source versions for pulling
478
478
intermediate\nfiles. The `ARG` instruction lets Dockerfile authors define values
479
479
that users\ncan set at build-time using the `--build-arg` flag:\n\n```bash\n$ docker
480
-
build --build-arg HTTP_PROXY=http://10.20.30.2:1234 .\n```\n\nThis flag allows you
481
-
to pass the build-time variables that are\naccessed like regular environment variables
482
-
in the `RUN` instruction of the\nDockerfile. Also, these values don't persist in
483
-
the intermediate or final images\nlike `ENV` values do.\n\nUsing this flag will
484
-
not alter the output you see when the `ARG` lines from the\nDockerfile are echoed
485
-
during the build process.\n\nFor detailed information on using `ARG` and `ENV` instructions,
486
-
see the\n[Dockerfile reference](../builder.md).\n\n### Optional security options
487
-
(--security-opt)\n\nThis flag is only supported on a daemon running on Windows,
488
-
and only supports\nthe `credentialspec` option. The `credentialspec` must be in
489
-
the format\n`file://spec.txt` or `registry://keyname`.\n\n### Specify isolation
490
-
technology for container (--isolation)\n\nThis option is useful in situations where
491
-
you are running Docker containers on\nWindows. The `--isolation=<value>` option
492
-
sets a container's isolation\ntechnology. On Linux, the only supported is the `default`
493
-
option which uses\nLinux namespaces. On Microsoft Windows, you can specify these
494
-
values:\n\n\n| Value | Description |\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n|
more information.\n\n### Optional security options (--security-opt)\n\nThis flag
494
+
is only supported on a daemon running on Windows, and only supports\nthe `credentialspec`
495
+
option. The `credentialspec` must be in the format\n`file://spec.txt` or `registry://keyname`.\n\n###
496
+
Specify isolation technology for container (--isolation)\n\nThis option is useful
497
+
in situations where you are running Docker containers on\nWindows. The `--isolation=<value>`
498
+
option sets a container's isolation\ntechnology. On Linux, the only supported is
499
+
the `default` option which uses\nLinux namespaces. On Microsoft Windows, you can
500
+
specify these values:\n\n\n| Value | Description |\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n|
495
501
`default` | Use the value specified by the Docker daemon's `--exec-opt` . If the
496
502
`daemon` does not specify an isolation technology, Microsoft Windows uses `process`
497
503
as its default value. |\n| `process` | Namespace isolation only. |\n|
0 commit comments