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?

  • Where is the download(curl/wget) package in docker container
  • docker add “requires at least one argument” error
  • Using Pillow in Docker
  • how to make two docker containers share sqllite db on kubernetes?
  • Dockerfile build - possible to ignore error?
  • How to run official mongodb docker storing data to separate host system drive?
  • How can I format this?

    eg Created: 1402148149

  • spring-boot cannot start in docker
  • adding R package for installation from Github in Dockerfile
  • Commands in Dockerfile don't seem to be running
  • How to point a Dokku app at the root domain of the dokku server
  • Docker /vfs folder size
  • getting docker container to never shutdown
  • 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.