Format of docker remote api image date created field

Just wondering who might know what the number on the “created” attribute of the json response for images might mean.

Obviously its something to do with the day of creation, but I’m not sure how to format it, it doesnt look like a standard timestamp, does it represent “days ago” or a specific date?

  • How do I access a server on localhost with nginx docker container?
  • docker build + private NPM (+ private docker hub)
  • Link Docker containers running on different hosts?
  • How to merge two running Docker Containers?
  • Docker daemon log for Docker for Mac
  • Docker Could not connect to a primary node for replica set #<Moped::Cluster:69840575665060 @seeds=[<Moped::Node resolved_address=“127.0.0.1:27017”>]>
  • How can I format this?

    eg Created: 1402148149

  • Binaries inside Docker container images not being started when not explicitly called
  • Docker Swarm, Compose and PostgreSQL
  • Running Boot2docker behind proxy, getting FATA[0020] Forbidden for any interaction with Docker hub
  • Can't discover docker container on user defined network
  • Setting up a development environment with docker
  • Docker: Do I need to rebuild the container from scratch whenever I need to add software?
  • One Solution collect form web for “Format of docker remote api image date created field”

    As was stated by @Melbourne2991 that is a UNIX timestamp. Seconds since the epoch of Jan 1 1970. However, you will find that the Docker API is inconsistent about how it reports dates. /containers/json will give you the created field for all the returned containers as a UNIX timestamp, but /containers/DOCKERID/json will give you the same field in ISO 8601 format. Just something to consider when writing your code.

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