Bug 1445856
| Summary: | [starter][paid]Users can't build docker images that contain VOLUME statements on OpenShift Online even if they have access | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Clayton Coleman <ccoleman> |
| Component: | Containers | Assignee: | Antonio Murdaca <amurdaca> |
| Status: | CLOSED WONTFIX | QA Contact: | Xiaoli Tian <xtian> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.11.0 | CC: | abhgupta, aos-bugs, bparees, ccoleman, dwalsh, erich, hgomes, jfiala, jhonce, jokerman, mmccomas, mpatel, nagrawal, pweil, rhowe, xtian |
| Target Milestone: | --- | Keywords: | OnlinePro, UpcomingRelease |
| Target Release: | 3.11.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-19 17:39:45 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
Clayton Coleman
2017-04-26 16:03:29 UTC
how about images like gcr.io/k8s-testimages/redis:e2e which has a "/data" volume in the image Config (built with VOLUME /data)? if we ignore that volume the redis-server in the image is expecting a /data workdir, thus failing if that doesn't exist in the container. Do we just _mock_ the directory in the container (mkdir /data)? @Antonio That scenario was lo (In reply to Antonio Murdaca from comment #1) > how about images like gcr.io/k8s-testimages/redis:e2e which has a "/data" > volume in the image Config (built with VOLUME /data)? if we ignore that > volume the redis-server in the image is expecting a /data workdir, thus > failing if that doesn't exist in the container. Do we just _mock_ the > directory in the container (mkdir /data)? That scenario describes bug 1471256: https://bugzilla.redhat.com/show_bug.cgi?id=1471256 Antonio: A while back Clayton and I had discussed that the data written to the directory (/data) in case of redis would simply be written to the container's top r/w layer. I am not sure if that requires "mocking" the volume mapping or not. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |