8000 "docker events --since" timestamps don't accept documented string format · Issue #10501 · moby/moby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
"docker events --since" timestamps don't accept documented string format #10501
Closed
@amouat

Description

@amouat

According to https://docs.docker.com/reference/commandline/cli/#events, --since can be given a string timestamp of the form '2013-09-03 15:49:29 +0200 CEST', but this doesn't seem to be case.

For example, the following works:

$ docker events --since "2015-02-01T19:30:15.000000000Z"
2015-02-01T19:30:30.000000000Z 57cba16a6ffc1b27093373efa0b1e2ca8704b75dc13d360a86740c34022bf93c: (from debian:latest) create
2015-02-01T19:30:30.000000000Z 57cba16a6ffc1b27093373efa0b1e2ca8704b75dc13d360a86740c34022bf93c: (from debian:latest) start
2015-02-01T19:30:30.000000000Z 57cba16a6ffc1b27093373efa0b1e2ca8704b75dc13d360a86740c34022bf93c: (from debian:latest) die
2015-02-01T19:30:30.000000000Z 57cba16a6ffc1b27093373efa0b1e2ca8704b75dc13d360a86740c34022bf93c: (from debian:latest) destroy

I would expect to the following to work according to the documentation, but they return no output (but still stream new events).

$ docker events  --since '2013-09-03 15:49:29 +0200 CEST'
$ docker events  --since '2013-09-03 15:49:29'

The format docker events --since '2013-09-03' with only the date does work as expected. Unix epoch seconds also seems to work as per the documentation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0