Bug 1276776

Summary: [f23] docker 1.7.0 can't bind mount root dir into container
Product: [Fedora] Fedora Reporter: Dusty Mabe <dustymabe>
Component: dockerAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: adimania, admiller, dwalsh, ichavero, jcajka, jchaloup, kparal, lsm5, miminar, mruckman, vbatts
Target Milestone: ---Keywords: CommonBugs
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: https://fedoraproject.org/wiki/Common_F23_bugs#docker-privileged-containers
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-05 15:12:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dusty Mabe 2015-10-30 20:53:40 UTC
Description of problem:

For many super privileged containers we need to bind mount the root of the filesystem into the container. We can't do this with docker docker-1.7.0-22.gitdcff4e1.fc23.x86_64. This should not be a long lived bug since docker 1.8 (which does not have this problem) will land shortly after release but we needed a BZ for common bugs. 


```
-bash-4.3# rpm -q docker
docker-1.7.0-22.gitdcff4e1.fc23.x86_64
-bash-4.3# docker run -it --rm --privileged -v /:/host busybox
Error response from daemon: Relabeling of / is not allowed
-bash-4.3#
```

Comment 1 Dusty Mabe 2015-10-30 20:54:04 UTC
please close this once 1.8 hits table repos.

Comment 2 Mike Ruckman 2015-10-30 22:46:24 UTC
Updated the CommonBugs page with this.

Comment 3 Dusty Mabe 2015-11-05 15:12:16 UTC
docker 1.8 is in the repos now. can close this bug.