mirror of https://github.com/docker/docs.git
Formatting
This commit is contained in:
parent
a1f68fd9b2
commit
00511c620d
|
@ -2,10 +2,6 @@
|
||||||
description: CLI and log output formatting reference
|
description: CLI and log output formatting reference
|
||||||
keywords:
|
keywords:
|
||||||
- format, formatting, output, templates, log
|
- format, formatting, output, templates, log
|
||||||
menu:
|
|
||||||
main:
|
|
||||||
parent: engine_admin
|
|
||||||
weight: 7
|
|
||||||
title: Format command and log output
|
title: Format command and log output
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -58,7 +54,7 @@ Lower turns a string into its lower case representation.
|
||||||
Split slices a string into a list of strings separated by a separator.
|
Split slices a string into a list of strings separated by a separator.
|
||||||
|
|
||||||
{% raw %}
|
{% raw %}
|
||||||
# docker inspect --format '{{split (join .Names "/") "/"}}' container
|
$ docker inspect --format '{{split (join .Names "/") "/"}}' container
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
### Title
|
### Title
|
||||||
|
|
Loading…
Reference in New Issue