docker ps shows empty list

I built a docker image from a docker file. Build said it succeeded. But when I try to show docker containers through docker ps (also tried docker ps -a), it shows an empty list. What is weird is that I’m still able to somehow push my docker image to dockerhub by calling docker push "container name".

I wonder what’s going on? I’m on Windows 7, and just installed the newest version of dockertoolbox.

  • Best approach of using gpg key generation for docker images
  • Docker doesn't download images (connection problems to registry)
  • How can I load the docker images before the service starts?
  • Is there a way to stop a command in a docker container
  • gem install fails when building an image on Docker for Windows
  • Using 'pyenv activate' in a Dockerfile
  • docker on mac: unable to resolve path to a file on mac from the program running in container
  • Cannot connect to MYSQL in a LAMP docker container
  • docker native networking vs weave net/flux/show
  • docker websphere can't get the admin console
  • Container doesn't exist after Rest API successfully creates it
  • Docker error :System Error : no space left on device
  • One Solution collect form web for “docker ps shows empty list”

    docker ps shows (running) containers. docker images shows images.

    A successfully build docker image should appear in the list which docker images generates. But only a container (which is an instance of an image) will appear in the list from docker ps. To start a container from your image, use docker run.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.