docker/docker — pull request #8955 by rhatdan (2014-11-04 20:28:48+00:00)
Title: Allow the specification of UserData Json content to be saved in an image

Save "UserData" field in Dockerfile into image content.

This will allow a user to save user data into an image, which
can later be retrieved using:

docker inspect IMAGEID

We want to be able to add json data to an image to describe the image, and
then be able to use other tools to look at this data, to be able to do
security checks based on this data.

We are thinking about adding version names,
Perhaps listing the content of the dockerfile.
Descriptions of where the code came from etc.

This USERDATA field should also be allowed to be specified in the docker import/commit once --change is merged.
docker import --change USERDATA:{JSON}
docker commit --change USERDATA:{JSON}

Docker-DCO-1.1-Signed-off-by: Dan Walsh (github: rhatdan)