Allow specification of Label Name/Value pairs in image json content
Allow specification of Label Name/Value pairs in image json content

Save "LABEL" 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

I have copied this from the "Comment" handling in docker images.

We want to be able to add Name/Value 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 LABEL field should also be allowed to be specified in the
docker import --change LABEL:Name=Value
docker commit --change LABEL:Name=Value

Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)

docker/cli,allencloud/cli,cpuguy83/cli,allencloud/cli,thaJeztah/cli,dnephin/cli,riyazdf/cli,ashfall/cli,redpanda/cli,thaJeztah/cli,redpanda/cli,e11137/cli,dnephin/cli,e11137/cli,cpuguy83/cli,Zebrilee/cli,Zebrilee/cli,docker/cli,ashfall/cli,riyazdf/cli