Bug 1331781
Summary: | Duplicate mount point error when using --tmpfs on a mountpoint which is already defined in Dockerfile as VOLUME | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Pazdziora (Red Hat) <jpazdziora> |
Component: | docker-latest | Assignee: | Antonio Murdaca <amurdaca> |
Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | amurdaca, dwalsh, lsm5, lsu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-08-04 13:46:13 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
Jan Pazdziora (Red Hat)
2016-04-29 13:39:30 UTC
I'm going to reproduce and probably report upstream as well. can reproduce with 1.12-dev also - I'm going to work on this with upstream since I think --tmpfs should be handled the same as bind mounts (Dan correct me if I'm wrong) assuming "test" has been built with "VOLUME /run": docker run --rm -v /tmp:/run test true <--- this pass docker run --rm --tmpfs /run test true <--- this should pass as well I think the behavior should be the same I agree. Alright, I'm already working on it Discussion and PR upstream: https://github.com/docker/docker/pull/23301 Still in error with docker-latest-1.10.3-40.el7.x86_64: # docker-latest run --rm -ti --tmpfs /run test-tmpfs true docker: Error response from daemon: Cannot start container 4db05f807cafb33fa027792b8be72d241c020536c9e22220d0d8e310c6c33229: Duplicate mount point '/run'. do we need a new build to include it? This should not have been in modified state - still working on this with upstream It should be removed from the errata then... alright, i'll remove it merged upstream :) Dan, will be going to carry a patch for this in 1.10.3? Yes we should carry a patch. In docker-latest-1.10.3-46.el7.8.x86_64, steps per comment#8, move to verified. #docker-latest run --rm -ti --tmpfs /run test-tmpfs true # echo $? 0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-1447.html |