1
0
mirror of https://github.com/docker/cli.git synced 2025-08-18 18:22:03 +03:00
Files
cli/docs/reference/commandline
Yong Tang e541799eed Add .CreatedAt placeholder for docker network ls --format
This fix tries to add a placeholder `.CreatedAt` for Go
format template in `docker network ls --format`.

While working on 29226, I noticed that it is not possible to
display network's creation time in `docker network ls`, with or
without `--format`.

We are able to find the timestamp through `docker network inspect` though.

However, as we allows networks to be pruned based on the timestamp
(see 29226), showing the timestamp in `docker network ls --format`
would be much useful now.

This fix adds the `.CreatedAt` placeholder for `docker network ls --format`.
The default output was not changed for `docker network ls --format`.

A test case for unit tests has been added.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-06-02 00:10:50 +00:00
..
2017-06-02 00:10:45 +00:00
2017-06-02 00:10:49 +00:00
2017-06-02 00:10:40 +00:00
2017-06-02 00:10:46 +00:00
2017-06-02 00:06:58 +00:00
2017-06-02 00:10:43 +00:00
2017-06-02 00:10:48 +00:00
2017-06-02 00:10:47 +00:00
2017-06-02 00:10:42 +00:00
2017-06-02 00:10:46 +00:00
2017-06-02 00:10:44 +00:00
2017-06-02 00:10:44 +00:00
2017-06-02 00:10:44 +00:00
2017-06-02 00:10:44 +00:00
2017-06-02 00:10:48 +00:00