Bug 1274210
Summary: | Docker volumes using the :z or :Z flag don't create the folder on the dockerd host | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Alvaro Aleman <alv2412> |
Component: | docker | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED NOTABUG | QA Contact: | atomic-bugs <atomic-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.1 | CC: | lsm5 |
Target Milestone: | rc | Keywords: | Extras |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-10-28 14:35:04 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
Alvaro Aleman
2015-10-22 09:33:57 UTC
I guess I would question what the correct behaviour should be. I would say that creating a directory is more dangerous then failing with an error. Just having a spelling mistake could end up with the container having unexpected behaviour. Probably should bring this up for discussion upstream. According to upstream the creation will be marked deprecated in Docker 1.9 and remove in Docker 1.11: https://github.com/docker/docker/issues/17240#issuecomment-149946431 What I really dislike about current behaviour is not the creation/not creation question but the inconsitentcy. Well it looks like the :z and :Z is the correct behaviour, and docker will eventually move to it. |