I run docker images
and get something like this:
REPOSITORY TAG IMAGE ID CREATED VIRTUA
I think the best way would be to run docker inspect IMAGE_OR_CONTAINER
, then pipe the output to grep to filter the results to what you really want.
If you only want to know when it started, run
docker inspect IMAGE_OR_CONTAINER | grep -i created
... which results in the following output:
"Created": "2015-09-18T01:46:51.471641483Z",
That's pretty clean.
... you could do the same for "started":
docker inspect IMAGE_OR_CONTAINER | grep -i started
... which results in the following output:
"StartedAt": "2015-09-18T01:46:51.79789586Z"