mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 23:38:24 +00:00
Add system time to /info
This change adds daemon's system time as RFC3339Nano to the `/info` endpoint and shows in a more readable format (UnixDate) in `docker -D info` output. I will be using this to fix the clock skew between the remote test host and the CI machines running `docker events`-related tests as they're using `--since` and `--until` and the timestamps are not matching when daemon is not on the same machine. Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
This commit is contained in:
@@ -57,10 +57,10 @@ This endpoint now returns `Os`, `Arch` and `KernelVersion`.
|
||||
**New!**
|
||||
You can set ulimit settings to be used within the container.
|
||||
|
||||
`Get /info`
|
||||
`GET /info`
|
||||
|
||||
**New!**
|
||||
Add return value `HttpProxy`,`HttpsProxy` and `NoProxy` to this entrypoint.
|
||||
This endpoint now returns `SystemTime`, `HttpProxy`,`HttpsProxy` and `NoProxy`.
|
||||
|
||||
|
||||
## v1.17
|
||||
|
||||
@@ -1452,6 +1452,7 @@ Display system-wide information
|
||||
"Debug":false,
|
||||
"NFd": 11,
|
||||
"NGoroutines":21,
|
||||
"SystemTime": "2015-03-10T11:11:23.730591467-07:00"
|
||||
"NEventsListener":0,
|
||||
"InitPath":"/usr/bin/docker",
|
||||
"InitSha1":"",
|
||||
|
||||
@@ -1242,6 +1242,7 @@ For example:
|
||||
Debug mode (client): true
|
||||
Fds: 10
|
||||
Goroutines: 9
|
||||
System Time: Tue Mar 10 18:38:57 UTC 2015
|
||||
EventsListeners: 0
|
||||
Init Path: /usr/bin/docker
|
||||
Docker Root Dir: /var/lib/docker
|
||||
|
||||
Reference in New Issue
Block a user