Bug 1041086

Summary: [RFE][nova]: Docker Set Container name to Instance ID
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-novaAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: Ami Jeain <ajeain>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: markmc, ndipanov, sgordon, yeylon
Target Milestone: Upstream M3Keywords: FutureFeature, Triaged
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/docker-name-instance-id
Whiteboard: upstream_milestone_icehouse-3 upstream_status_implemented upstream_definition_approved
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-20 14:04:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 13:36:14 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/docker-name-instance-id.

Description:

Since docker 0.7 is it possible to give container a name. The docker driver should make use of this feature and set the uuid of the nova instance as container name. That allows an easy lookup of containers. It also enables the administrator to find for a nova instance the corresponding container in the docker list (docker ps). 

I would also propose to prefix the name in order to make it easy to filter out container created by nova. For example:

nova-d7553842-2424-4471-98a7-92a1db70033b



Specification URL (additional information):

None