Skip to content

Commit 261d224

Browse files
committed
docs, man: remove confusing example for "--isolation"
This snippet was added in [38ec5d8][1]. The intent was to indicate that an empty value is equivalent to passing "default" as value. However, passing the `--isolation` flag _without a value_ (i.e., no `=` specified) will fail in many cases, as any string after it will be parsed as value (e.g. `docker run --isolation busybox` would consider `busybox` as value). This patch removes these lines as they add more confusion than addressing. [1]: moby/moby@38ec5d8 Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 7b7a4c0) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent e0e9fea commit 261d224

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

docs/reference/commandline/image_build.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ Linux namespaces. On Microsoft Windows, you can specify these values:
133133
| `process` | Namespace isolation only. |
134134
| `hyperv` | Hyper-V hypervisor partition-based isolation. |
135135

136-
Specifying the `--isolation` flag without a value is the same as setting `--isolation="default"`.
137-
138136
### <a name="security-opt"></a> Optional security options (--security-opt)
139137

140138
This flag is only supported on a daemon running on Windows, and only supports

man/docker-build.1.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,6 @@ Linux namespaces. On Microsoft Windows, you can specify these values:
348348
* `process`: Namespace isolation only.
349349
* `hyperv`: Hyper-V hypervisor partition-based isolation.
350350

351-
Specifying the `--isolation` flag without a value is the same as setting `--isolation "default"`.
352-
353351
# HISTORY
354352
March 2014, Originally compiled by William Henry (whenry at redhat dot com)
355353
based on docker.com source material and internal work.

man/src/container/create-example.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Linux namespaces. On Microsoft Windows, you can specify these values:
99
* `process`: Namespace isolation only.
1010
* `hyperv`: Hyper-V hypervisor partition-based isolation.
1111

12-
Specifying the `--isolation` flag without a value is the same as setting `--isolation="default"`.
13-
1412
### Dealing with dynamically created devices (--device-cgroup-rule)
1513

1614
Devices available to a container are assigned at creation time. The

0 commit comments

Comments
 (0)