mirror of https://github.com/docker/cli.git
docs: remove "{% raw %}" / "{% endraw %}" Jekyl (liquid) leftovers
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
5aa3077c36
commit
e2626200aa
|
@ -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.
|
`fluentd-tag` have been deprecated in favor of the generic `tag` option.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
{% raw %}
|
|
||||||
$ docker --log-driver=syslog --log-opt tag="{{.ImageName}}/{{.Name}}/{{.ID}}"
|
$ docker --log-driver=syslog --log-opt tag="{{.ImageName}}/{{.Name}}/{{.ID}}"
|
||||||
{% endraw %}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -311,9 +311,7 @@ and `Parent`. `Parent` may be an empty string, in which case there is no parent.
|
||||||
**Response**:
|
**Response**:
|
||||||
|
|
||||||
```
|
```
|
||||||
{% raw %}
|
|
||||||
{{ TAR STREAM }}
|
{{ TAR STREAM }}
|
||||||
{% endraw %}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### /GraphDriver.Changes
|
### /GraphDriver.Changes
|
||||||
|
@ -357,9 +355,7 @@ Respond with a non-empty string error if an error occurred.
|
||||||
**Request**:
|
**Request**:
|
||||||
|
|
||||||
```
|
```
|
||||||
{% raw %}
|
|
||||||
{{ TAR STREAM }}
|
{{ TAR STREAM }}
|
||||||
{% endraw %}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Extract the changeset from the given diff into the layer with the specified `ID`
|
Extract the changeset from the given diff into the layer with the specified `ID`
|
||||||
|
|
|
@ -213,7 +213,7 @@ to determine what set of logs to read.
|
||||||
**Response**:
|
**Response**:
|
||||||
|
|
||||||
```
|
```
|
||||||
{% raw %}{{ log stream }}{% endraw %}
|
{{ log stream }}
|
||||||
```
|
```
|
||||||
|
|
||||||
The response should be the encoded log message using the same format as the
|
The response should be the encoded log message using the same format as the
|
||||||
|
|
|
@ -69,10 +69,8 @@ node1 is the manager and node2 is the worker.
|
||||||
4. Observe the task getting scheduled in node 2:
|
4. Observe the task getting scheduled in node 2:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
{% raw %}
|
|
||||||
$ docker ps --format '{{.ID}}\t {{.Status}} {{.Names}} {{.Command}}'
|
$ docker ps --format '{{.ID}}\t {{.Status}} {{.Names}} {{.Command}}'
|
||||||
83fc1e842599 Up 2 days my-service.1.9jn59qzn7nbc3m0zt1hij12xs "top"
|
83fc1e842599 Up 2 days my-service.1.9jn59qzn7nbc3m0zt1hij12xs "top"
|
||||||
{% endraw %}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Network plugins
|
### Network plugins
|
||||||
|
|
|
@ -313,7 +313,6 @@ Following is a sample `config.json` file to illustrate the format used for
|
||||||
various fields:
|
various fields:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{% raw %}
|
|
||||||
{
|
{
|
||||||
"HttpHeaders": {
|
"HttpHeaders": {
|
||||||
"MyHeader": "MyValue"
|
"MyHeader": "MyValue"
|
||||||
|
@ -356,7 +355,6 @@ various fields:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{% endraw %}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Experimental features
|
### Experimental features
|
||||||
|
|
|
@ -570,19 +570,15 @@ for a container can be obtained via [`docker inspect`](commandline/inspect.md).
|
||||||
for container "my-container";
|
for container "my-container";
|
||||||
|
|
||||||
```console
|
```console
|
||||||
{% raw %}
|
|
||||||
$ docker inspect -f "{{ .RestartCount }}" my-container
|
$ docker inspect -f "{{ .RestartCount }}" my-container
|
||||||
# 2
|
# 2
|
||||||
{% endraw %}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, to get the last time the container was (re)started;
|
Or, to get the last time the container was (re)started;
|
||||||
|
|
||||||
```console
|
```console
|
||||||
{% raw %}
|
|
||||||
$ docker inspect -f "{{ .State.StartedAt }}" my-container
|
$ docker inspect -f "{{ .State.StartedAt }}" my-container
|
||||||
# 2015-03-04T23:47:07.691840179Z
|
# 2015-03-04T23:47:07.691840179Z
|
||||||
{% endraw %}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Combining `--restart` (restart policy) with the `--rm` (clean up) flag results
|
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:
|
Example:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
{% raw %}
|
|
||||||
$ docker run --name=test -d \
|
$ docker run --name=test -d \
|
||||||
--health-cmd='stat /etc/passwd || exit 1' \
|
--health-cmd='stat /etc/passwd || exit 1' \
|
||||||
--health-interval=2s \
|
--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.
|
The health status is also displayed in the `docker ps` output.
|
||||||
|
|
Loading…
Reference in New Issue