{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/docker/issues/20087","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/20087/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/20087/comments","events_url":"https://api.github.com/repos/docker/docker/issues/20087/events","html_url":"https://github.com/docker/docker/issues/20087","id":131973928,"number":20087,"title":"`ps -f before=`  vs  `ps -f since=` ","user":{"login":"ozlerhakan","id":1964927,"avatar_url":"https://avatars.githubusercontent.com/u/1964927?v=3","gravatar_id":"","url":"https://api.github.com/users/ozlerhakan","html_url":"https://github.com/ozlerhakan","followers_url":"https://api.github.com/users/ozlerhakan/followers","following_url":"https://api.github.com/users/ozlerhakan/following{/other_user}","gists_url":"https://api.github.com/users/ozlerhakan/gists{/gist_id}","starred_url":"https://api.github.com/users/ozlerhakan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozlerhakan/subscriptions","organizations_url":"https://api.github.com/users/ozlerhakan/orgs","repos_url":"https://api.github.com/users/ozlerhakan/repos","events_url":"https://api.github.com/users/ozlerhakan/events{/privacy}","received_events_url":"https://api.github.com/users/ozlerhakan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-07T14:54:20Z","updated_at":"2016-02-07T14:54:20Z","closed_at":null,"body":"Hi all,\r\n\r\n`$docker ps -f since=` shows a result with and without `-a`, Next to this, after trying `$docker ps -f before=box`, I got nothing, but this query works with `-a`; `$docker ps -af before=box`. So while I use `since`  with two options, why I cannot use `before` without `-a`? or  does `since` have bad behavior by providing both cases?  \r\n\r\nHow reproducible:\r\n```\r\n$ docker ps -a\r\nCONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS                      PORTS               NAMES\r\naa99c1c1e96b        ubuntu:14.04              \"bash\"                   3 hours ago         Exited (0) 3 hours ago                          jolly_ritchie\r\n8c6bd18f842e        busybox:latest            \"sleep 100\"              4 hours ago         Exited (143) 4 hours ago                        box\r\n168cbe37008c        mongo:3.2                 \"/entrypoint.sh mongo\"   2 days ago          Exited (137) 30 hours ago   27017/tcp           mongo\r\n1c60d589fcf6        centurylink/image-graph   \"/usr/src/app/image-g\"   4 days ago          Exited (137) 4 days ago                         happy_leavitt\r\nb76fb791a1df        dockerui/dockerui         \"/dockerui\"              5 days ago          Exited (2) 4 days ago                           compassionate_bell\r\n\r\n$ docker ps -f since=box\r\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                   PORTS               NAMES\r\naa99c1c1e96b        ubuntu:14.04        \"bash\"              3 hours ago         Exited (0) 3 hours ago                       jolly_ritchie\r\n\r\n$ docker ps -af since=box\r\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                   PORTS               NAMES\r\naa99c1c1e96b        ubuntu:14.04        \"bash\"              3 hours ago         Exited (0) 3 hours ago                       jolly_ritchie\r\n\r\n$ docker ps -f before=box\r\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES\r\n\r\n$ docker ps -af before=box\r\nCONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS                      PORTS               NAMES\r\n168cbe37008c        mongo:3.2                 \"/entrypoint.sh mongo\"   2 days ago          Exited (137) 30 hours ago   27017/tcp           mongo\r\n1c60d589fcf6        centurylink/image-graph   \"/usr/src/app/image-g\"   4 days ago          Exited (137) 4 days ago                         happy_leavitt\r\nb76fb791a1df        dockerui/dockerui         \"/dockerui\"              5 days ago          Exited (2) 4 days ago                           compassionate_bell\r\n\r\n```\r\n\r\n\r\n`docker version`:\r\n```\r\nClient:\r\n Version:      1.10.0\r\n API version:  1.22\r\n Go version:   go1.5.3\r\n Git commit:   590d5108\r\n Built:        Thu Feb  4 18:18:11 2016\r\n OS/Arch:      windows/amd64\r\n\r\nServer:\r\n Version:      1.10.0\r\n API version:  1.22\r\n Go version:   go1.5.3\r\n Git commit:   590d5108\r\n Built:        Thu Feb  4 19:55:25 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n`docker info`:\r\n```\r\nContainers: 5\r\n Running: 0\r\n Paused: 0\r\n Stopped: 5\r\nImages: 103\r\nServer Version: 1.10.0\r\nStorage Driver: aufs\r\n Root Dir: /mnt/sda1/var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 122\r\n Dirperm1 Supported: true\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nPlugins:\r\n Volume: local\r\n Network: host bridge null\r\nKernel Version: 4.1.17-boot2docker\r\nOperating System: Boot2Docker 1.10.0 (TCL 6.4.1); master : b09ed60 - Thu Feb  4 20:16:08 UTC 2016\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 1\r\nTotal Memory: 996.2 MiB\r\nName: kodcu\r\nID: 32KK:K7BX:D2KV:SXYC:N65U:2FBX:IUQD:U24R:NBYR:EEV4:BBPU:Y66D\r\nDebug mode (server): true\r\n File Descriptors: 10\r\n Goroutines: 22\r\n System Time: 2016-02-07T14:20:50.732065775Z\r\n EventsListeners: 0\r\n Init SHA1:\r\n Init Path: /usr/local/bin/docker\r\n Docker Root Dir: /mnt/sda1/var/lib/docker\r\nUsername: \r\nRegistry: https://index.docker.io/v1/\r\nLabels:\r\n provider=virtualbox\r\n```"}}