Skip to content

Commit 7e8f949

Browse files
committed
docs, man: remove --allow-nondistributable-artifacts flag
This flag is deprecated and no longer functional. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 7603266 commit 7e8f949

File tree

2 files changed

+0
-47
lines changed

2 files changed

+0
-47
lines changed

docs/reference/dockerd.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ A self-sufficient runtime for containers.
2424

2525
Options:
2626
--add-runtime runtime Register an additional OCI compatible runtime (default [])
27-
--allow-nondistributable-artifacts list Allow push of nondistributable artifacts to registry
2827
--authorization-plugin list Authorization plugins to load
2928
--bip string Specify default-bridge IPv4 network
3029
--bip6 string Specify default-bridge IPv6 network
@@ -688,34 +687,6 @@ To set the DNS search domain for all Docker containers, use:
688687
$ sudo dockerd --dns-search example.com
689688
```
690689

691-
### Allow push of non-distributable artifacts
692-
693-
Some images (e.g., Windows base images) contain artifacts whose distribution is
694-
restricted by license. When these images are pushed to a registry, restricted
695-
artifacts are not included.
696-
697-
To override this behavior for specific registries, use the
698-
`--allow-nondistributable-artifacts` option in one of the following forms:
699-
700-
* `--allow-nondistributable-artifacts myregistry:5000` tells the Docker daemon
701-
to push non-distributable artifacts to myregistry:5000.
702-
* `--allow-nondistributable-artifacts 10.1.0.0/16` tells the Docker daemon to
703-
push non-distributable artifacts to all registries whose resolved IP address
704-
is within the subnet described by the CIDR syntax.
705-
706-
This option can be used multiple times.
707-
708-
This option is useful when pushing images containing non-distributable artifacts
709-
to a registry on an air-gapped network so hosts on that network can pull the
710-
images without connecting to another server.
711-
712-
> [!WARNING]
713-
> Non-distributable artifacts typically have restrictions on how
714-
> and where they can be distributed and shared. Only use this feature to push
715-
> artifacts to private registries and ensure that you are in compliance with
716-
> any terms that cover redistributing non-distributable artifacts.
717-
{ .warning }
718-
719690
### Insecure registries
720691

721692
In this section, "registry" refers to a private registry, and `myregistry:5000`
@@ -1086,7 +1057,6 @@ The following is a full example of the allowed configuration options on Linux:
10861057

10871058
```json
10881059
{
1089-
"allow-nondistributable-artifacts": [],
10901060
"authorization-plugins": [],
10911061
"bip": "",
10921062
"bip6": "",
@@ -1234,7 +1204,6 @@ The following is a full example of the allowed configuration options on Windows:
12341204

12351205
```json
12361206
{
1237-
"allow-nondistributable-artifacts": [],
12381207
"authorization-plugins": [],
12391208
"bridge": "",
12401209
"containerd": "\\\\.\\pipe\\containerd-containerd",
@@ -1338,7 +1307,6 @@ The list of currently supported options that can be reconfigured is this:
13381307
| `default-runtime` | Configures the runtime to be used if not is specified at container creation. |
13391308
| `runtimes` | Configures the list of available OCI runtimes that can be used to run containers. |
13401309
| `authorization-plugin` | Specifies the authorization plugins to use. |
1341-
| `allow-nondistributable-artifacts` | Specifies a list of registries to which the daemon will push non-distributable artifacts. |
13421310
| `insecure-registries` | Specifies a list of registries that the daemon should consider insecure. |
13431311
| `registry-mirrors` | Specifies a list of registry mirrors. |
13441312
| `shutdown-timeout` | Configures the daemon's existing configuration timeout with a new timeout for shutting down all containers. |

man/dockerd.8.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ dockerd - Enable daemon mode
66
# SYNOPSIS
77
**dockerd**
88
[**--add-runtime**[=*[]*]]
9-
[**--allow-nondistributable-artifacts**[=*[]*]]
109
[**--authorization-plugin**[=*[]*]]
1110
[**-b**|**--bridge**[=*BRIDGE*]]
1211
[**--bip**[=*BIP*]]
@@ -126,20 +125,6 @@ $ sudo dockerd --add-runtime runc=runc --add-runtime custom=/usr/local/bin/my-ru
126125

127126
**Note**: defining runtime arguments via the command line is not supported.
128127

129-
**--allow-nondistributable-artifacts**=[]
130-
Push nondistributable artifacts to the specified registries.
131-
132-
List can contain elements with CIDR notation to specify a whole subnet.
133-
134-
This option is useful when pushing images containing nondistributable
135-
artifacts to a registry on an air-gapped network so hosts on that network can
136-
pull the images without connecting to another server.
137-
138-
**Warning**: Nondistributable artifacts typically have restrictions on how
139-
and where they can be distributed and shared. Only use this feature to push
140-
artifacts to private registries and ensure that you are in compliance with
141-
any terms that cover redistributing nondistributable artifacts.
142-
143128
**--authorization-plugin**=""
144129
Set authorization plugins to load
145130

0 commit comments

Comments
 (0)