diff --git a/_includes/cli.md b/_includes/cli.md index 5092b76d97..729529989c 100644 --- a/_includes/cli.md +++ b/_includes/cli.md @@ -33,11 +33,34 @@ your client and daemon API versions. > This command is experimental. > -> It should not be used in production environments. +> This command is experimental on the Docker daemon. It should not be used in production environments. {: .important } {% endif %} +{% if site.data[include.datafolder][include.datafile].experimentalcli %} + +> This command is experimental. +> +> This command is experimental on the Docker client. It should not be used in production environments. +{: .important } + +{% endif %} + +{% capture command-orchestrator %} +{% if site.data[include.datafolder][include.datafile].swarm %} + +Swarm This command works with the Swarm orchestrator. + +{% endif %} +{% if site.data[include.datafolder][include.datafile].kubernetes %} + +Kubernetes This command works with the Kubernetes orchestrator. + +{% endif %} +{% endcapture %}{{ command-orchestrator }} + + {% if site.data[include.datafolder][include.datafile].usage %} ## Usage @@ -48,7 +71,11 @@ your client and daemon API versions. {% endif %} {% if site.data[include.datafolder][include.datafile].options %} - + {% if site.data[include.datafolder][include.datafile].inherited_options %} + {% assign alloptions = site.data[include.datafolder][include.datafile].options | concat:site.data[include.datafolder][include.datafile].inherited_options %} + {% else %} + {% assign alloptions = site.data[include.datafolder][include.datafile].options %} + {% endif %} ## Options