diff --git a/_data/toc.yaml b/_data/toc.yaml index fe0f94a0ba0..39b18959b01 100644 --- a/_data/toc.yaml +++ b/_data/toc.yaml @@ -927,8 +927,6 @@ reference: title: docker checkpoint - path: /edge/engine/reference/commandline/checkpoint_create/ title: docker checkpoint create - - path: /edge/engine/reference/commandline/checkpoint_create/ - title: docker checkpoint create - path: /edge/engine/reference/commandline/checkpoint_ls/ title: docker checkpoint ls - path: /edge/engine/reference/commandline/checkpoint_rm/ diff --git a/_includes/cli.md b/_includes/cli.md index 729529989c4..042d7b5c468 100644 --- a/_includes/cli.md +++ b/_includes/cli.md @@ -12,9 +12,9 @@ {% if site.data[include.datafolder][include.datafile].min_api_version %} -API {{ site.data[include.datafolder][include.datafile].min_api_version }}+ +API {{ site.data[include.datafolder][include.datafile].min_api_version }}+ The client and daemon API must both be at least -{{ site.data[include.datafolder][include.datafile].min_api_version }} +{{ site.data[include.datafolder][include.datafile].min_api_version }} to use this command. Use the `docker version` command on the client to check your client and daemon API versions. @@ -22,7 +22,7 @@ your client and daemon API versions. {% if site.data[include.datafolder][include.datafile].deprecated %} -> This command is deprecated. +> This command is [deprecated](/engine/deprecated.md){: target="_blank" class="_"}. > > It may be removed in a future Docker version. {: .warning } @@ -34,6 +34,9 @@ your client and daemon API versions. > This command is experimental. > > This command is experimental on the Docker daemon. It should not be used in production environments. +> To enable experimental features on the Docker daemon, edit the +> [daemon.json](/engine/reference/commandline/dockerd.md#daemon-configuration-file) +> and set `experimental` to `true`. {: .important } {% endif %} @@ -43,6 +46,9 @@ your client and daemon API versions. > This command is experimental. > > This command is experimental on the Docker client. It should not be used in production environments. +> To enable experimental features in the Docker CLI, edit the +> [config.json](/engine/reference/commandline/cli.md#configuration-files) +> and set `experimental` to `enabled`. {: .important } {% endif %} @@ -50,12 +56,12 @@ your client and daemon API versions. {% capture command-orchestrator %} {% if site.data[include.datafolder][include.datafile].swarm %} -Swarm This command works with the Swarm orchestrator. +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. +Kubernetes This command works with the Kubernetes orchestrator. {% endif %} {% endcapture %}{{ command-orchestrator }} @@ -89,16 +95,20 @@ your client and daemon API versions.
{% for option in alloptions %} - {% capture min-api %}{% if option.min_api_version %}API {{ option.min_api_version }}+ {% endif %}{%endcapture%} - {% capture stability-string %}{% if option.deprecated and (option.experimental or option.experimentalcli) %}deprecated experimental {% elsif option.deprecated %}deprecated {% elsif (option.experimental or option.experimentalcli) %}experimental {% endif %}{% endcapture %} - {% capture flag-orchestrator %}{% if option.swarm %}Swarm{% endif %}{% if option.kubernetes %}Kubernetes{% endif %}{% endcapture %} - {% capture all-badges %}{% unless min-api == '' and stability-string == '' %}{{ min-api }}{{ stability-string }}{{ flag-orchestrator }}