Bug 1276776 - [f23] docker 1.7.0 can't bind mount root dir into container
Summary: [f23] docker 1.7.0 can't bind mount root dir into container
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: docker
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lokesh Mandvekar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: https://fedoraproject.org/wiki/Common...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-30 20:53 UTC by Dusty Mabe
Modified: 2015-11-05 15:12 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-05 15:12:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.