Re: [openstack-dev] [kolla] Obtaining version information for Docker container

2016-12-01 Thread hu . zhijiang
; <openstack-dev@lists.openstack.org>, Adrian Mouat <adrian.mo...@container-solutions.com>, 日期: 2016-11-19 02:17 主题: Re: [openstack-dev] [kolla] Obtaining version information for Docker container I've been thinking about this a bit as well, and think that we should consider u

Re: [openstack-dev] [kolla] Obtaining version information for Docker container

2016-11-18 Thread Joshua Harlow
So just something that I can share about what we are putting in our images, since they are getting built from jenkins we shove in pretty much all the jenkins build information into it: $ IMG="" $ docker run $IMG cat /jenkins.json { "Project": "glance", "Project git":

Re: [openstack-dev] [kolla] Obtaining version information for Docker container

2016-11-18 Thread Pete Birley
I've been thinking about this a bit as well, and think that we should consider using the docker label schema (http://label-schema.org/rc1/) as a solution for #1, it would be possible to add labeling to kolla-build to add these labels simply. This solution is gaining traction in the docker

Re: [openstack-dev] [kolla] Obtaining version information for Docker container

2016-11-18 Thread Fox, Kevin M
Steve, (And the rest of kolla) This raises a question I've had for a while and wanted to talk through. Right now, kolla versions containers based on the kolla version (packaging version). In most package managers dpkg/rpm/etc, the versioning is done in a very different way. The software

Re: [openstack-dev] [kolla] Obtaining version information for Docker container

2016-11-18 Thread Paul Bourke
If I'm understanding the requirement correctly, we want to know which version of an OpenStack component is installed in an image? If so why not just run something like: # docker run kolla/oraclelinux-source-keystone:3.0.0 pip show keystone Name: keystone Version: 10.0.0.0rc2.dev290 [...] Or