From e2626200aaa0f950ed36385f7dab554ceff74e53 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 27 Nov 2023 21:58:45 +0100 Subject: [PATCH 1/2] docs: remove "{% raw %}" / "{% endraw %}" Jekyl (liquid) leftovers Signed-off-by: Sebastiaan van Stijn --- docs/deprecated.md | 2 -- docs/extend/plugins_graphdriver.md | 4 ---- docs/extend/plugins_logging.md | 2 +- docs/extend/plugins_services.md | 2 -- docs/reference/commandline/cli.md | 2 -- docs/reference/run.md | 6 ------ 6 files changed, 1 insertion(+), 17 deletions(-) diff --git a/docs/deprecated.md b/docs/deprecated.md index b16dd15437..3dfb37effe 100644 --- a/docs/deprecated.md +++ b/docs/deprecated.md @@ -817,9 +817,7 @@ Because of which, the driver specific log tag options `syslog-tag`, `gelf-tag` a `fluentd-tag` have been deprecated in favor of the generic `tag` option. ```console -{% raw %} $ docker --log-driver=syslog --log-opt tag="{{.ImageName}}/{{.Name}}/{{.ID}}" -{% endraw %} ``` diff --git a/docs/extend/plugins_graphdriver.md b/docs/extend/plugins_graphdriver.md index f0c88f734f..f6558d7f1e 100644 --- a/docs/extend/plugins_graphdriver.md +++ b/docs/extend/plugins_graphdriver.md @@ -311,9 +311,7 @@ and `Parent`. `Parent` may be an empty string, in which case there is no parent. **Response**: ``` -{% raw %} {{ TAR STREAM }} -{% endraw %} ``` ### /GraphDriver.Changes @@ -357,9 +355,7 @@ Respond with a non-empty string error if an error occurred. **Request**: ``` -{% raw %} {{ TAR STREAM }} -{% endraw %} ``` Extract the changeset from the given diff into the layer with the specified `ID` diff --git a/docs/extend/plugins_logging.md b/docs/extend/plugins_logging.md index 6405dd26cf..d6ce96cfb3 100644 --- a/docs/extend/plugins_logging.md +++ b/docs/extend/plugins_logging.md @@ -213,7 +213,7 @@ to determine what set of logs to read. **Response**: ``` -{% raw %}{{ log stream }}{% endraw %} +{{ log stream }} ``` The response should be the encoded log message using the same format as the diff --git a/docs/extend/plugins_services.md b/docs/extend/plugins_services.md index 20889dd976..f0c2dc503d 100644 --- a/docs/extend/plugins_services.md +++ b/docs/extend/plugins_services.md @@ -69,10 +69,8 @@ node1 is the manager and node2 is the worker. 4. Observe the task getting scheduled in node 2: ```console - {% raw %} $ docker ps --format '{{.ID}}\t {{.Status}} {{.Names}} {{.Command}}' 83fc1e842599 Up 2 days my-service.1.9jn59qzn7nbc3m0zt1hij12xs "top" - {% endraw %} ``` ### Network plugins diff --git a/docs/reference/commandline/cli.md b/docs/reference/commandline/cli.md index 7b74bccc68..ce9da411b0 100644 --- a/docs/reference/commandline/cli.md +++ b/docs/reference/commandline/cli.md @@ -313,7 +313,6 @@ Following is a sample `config.json` file to illustrate the format used for various fields: ```json -{% raw %} { "HttpHeaders": { "MyHeader": "MyValue" @@ -356,7 +355,6 @@ various fields: } } } -{% endraw %} ``` ### Experimental features diff --git a/docs/reference/run.md b/docs/reference/run.md index 938d2815d0..e1687d0aa8 100644 --- a/docs/reference/run.md +++ b/docs/reference/run.md @@ -570,19 +570,15 @@ for a container can be obtained via [`docker inspect`](commandline/inspect.md). for container "my-container"; ```console -{% raw %} $ docker inspect -f "{{ .RestartCount }}" my-container # 2 -{% endraw %} ``` Or, to get the last time the container was (re)started; ```console -{% raw %} $ docker inspect -f "{{ .State.StartedAt }}" my-container # 2015-03-04T23:47:07.691840179Z -{% endraw %} ``` Combining `--restart` (restart policy) with the `--rm` (clean up) flag results @@ -1647,7 +1643,6 @@ Similarly the operator can set the **HOSTNAME** (Linux) or **COMPUTERNAME** (Win Example: ```console -{% raw %} $ docker run --name=test -d \ --health-cmd='stat /etc/passwd || exit 1' \ --health-interval=2s \ @@ -1692,7 +1687,6 @@ $ sleep 2; docker inspect --format='{{json .State.Health}}' test } ] } -{% endraw %} ``` The health status is also displayed in the `docker ps` output. From 354f62f0c579e04d8b2b85cb6d8b773ec15ada80 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 27 Nov 2023 22:01:40 +0100 Subject: [PATCH 2/2] docs: reference/commandlin/cli: remove redundant italic Signed-off-by: Sebastiaan van Stijn --- docs/reference/commandline/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/commandline/cli.md b/docs/reference/commandline/cli.md index ce9da411b0..cf4bbc6801 100644 --- a/docs/reference/commandline/cli.md +++ b/docs/reference/commandline/cli.md @@ -156,7 +156,7 @@ By default, the Docker command line stores its configuration files in a directory called `.docker` within your `$HOME` directory. Docker manages most of the files in the configuration directory -and you should not modify them. However, you *can* modify the +and you should not modify them. However, you can modify the `config.json` file to control certain aspects of how the `docker` command behaves.