Fix join function example to use inspect instead of ps (#2827)

This commit is contained in:
John Harris 2017-04-18 13:07:25 -07:00 committed by Misty Stanley-Jones
parent 386d6dc6f7
commit 61ea4f090b
1 changed files with 1 additions and 1 deletions

View File

@ -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`