Search code examples
dockercontainers

How to know history of all containers executed on Docker?


Is there any way to know all the containers that have or has been running or stoped on Docker and get the history of them ?


Solution

  • That functionality is not part of the Docker HTTP API so it's not available to an application programmer. There is only information about containers that currently exist; once you delete a container (either via docker rm or an equivalent API call) it is completely gone.