mirror of https://github.com/docker/docs.git
Fix join function example to use inspect instead of ps (#2827)
This commit is contained in:
parent
386d6dc6f7
commit
61ea4f090b
|
@ -28,7 +28,7 @@ This is the complete list of the available functions with examples:
|
|||
It puts a separator between each element in the list.
|
||||
|
||||
{% raw %}
|
||||
$ docker ps --format '{{join .Names " or "}}'
|
||||
$ docker inspect --format '{{join .Args " , "}}' container
|
||||
{% endraw %}
|
||||
|
||||
### `json`
|
||||
|
|
Loading…
Reference in New Issue