Bug 1041255

Summary: [RFE][nova]: Docker Driver Support To Enable Privileged Mode
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/docker-privileged-mode-support
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_drafting
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:40:07 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 14:05:54 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/docker-privileged-mode-support.

Description:

In order to make a NFS mount (or a mount in general) or to use docker in docker it is needed to start a container in the privileged mode.

docker run -privileged -d centos /bin/bash

The docker drive could support that feature to enable the privileged mode via meta data. 

nova boot --meta "Privileged=true" --flavor m1.tiny --image centos:latest

This feature might not make much sense for a public cloud provider since it is a security risk.  For that reason I propose to disable the feature by default and provide a configuration property to enable it.



Specification URL (additional information):

None