-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-compose :Z not supported in volume mounts #176
Comments
I'm considering if |
These somehow would need to get mapped into security context-y things: http://kubernetes.io/docs/user-guide/security-context/ As that seems quite complex, maybe a first step could be to ignore the option with a warning? In my specific case: I'm trying to use kompose to do a migration from docker-compose to kubernetes, and my first goal is to get things running inside minikube, which doesn't seem to provide SELinux things anyways. I used sed now to drop the ':z', and at least the error message is a lot nicer now:
|
Agree with @ankon here. |
We're going to ignore :z / :Z for labeling aka SELinux when being passed in via Docker Compose. Closes kubernetes#176
Trying to convert docker-compose.yml file, kompose cannot parse a volume format that looks like "HOSTPATH:CONTAINERPATH:Z".
Above info source: https://docs.docker.com/engine/reference/commandline/run/#/mount-volumes-from-container-volumes-from
When converting kompose gives warnings like:
so warnings that show
:Z
is not supported areFound this issue from openshift/origin#10925
The text was updated successfully, but these errors were encountered: