Docker Community Forums

Share and learn in the Docker community.

"docker ps" stops listing containers after a while

(Perrohunter) #1

Expected behavior

To see a list of running and stopped containers

Actual behavior

You can see the container in the list for the first few minutes, but after a few minutes the list from “docker ps” stops showing all the running containers even if they are still on


OS X: version 10.10.5 (build: 14F1808) version v1.11.1-beta12
Running diagnostic tests:
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Docker logs are being collected into /tmp/20160526-104156.tar.gz
Most specific failure is: No error was detected
Your unique id is: F9048161-C366-4412-94FA-03233EE2F832
Please quote this in all correspondence.

  • the output of:
    • pinata diagnose -u on OSX
    • DockerDebugInfo.ps1 using Powershell on Windows
  • a reproducible case if this is a bug, Dockerfiles FTW
  • page URL if this is a docs issue or the name of a man page
  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )

Steps to reproduce the behavior

  1. docker run --name some_db -p 27017:27017 -d mongo:3.2
  2. wait 15 minutes
  3. issue “docker ps” nothing is listed

(Faye Salwin) #2

It’s not clear from your post if you did docker ps -a to determine if the container had just exited.