-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 vs podman emptyDir mount options (exec vs noexec) #1581
Comments
FWIW, this originally cropped up in openshift/hive#982 |
what's your podman version? |
reading the linked issue, it seems podman doesn't match docker in defaulting volume mounts options. we can explicitly add exec in KIND to work around this, similar to container-job-runner/cjr#49 |
Version: 1.9.0 |
unfortunately it's not possible to add options like ideally podman should not deviate from docker like this, the marketing of "drop in replacement" has been a disappointing comparison to reality so far. this driver is likely staying experimental for the immediate future. |
What happened:
Running a pod with an emptyDir defined results in 'noexec' when run under Podman, and the 'noexec' is missing when run under Docker.
What you expected to happen:
Same behavior.
How to reproduce it (as minimally and precisely as possible):
Start up kind with both docker and podman, create the namespace 'testexec' and run this pod on both docker and podman environments with
kubectl create -f ./<file with pod contents>
:When the Pod has finished running compare the log output showing the
/output
mountpoint withkubectl logs testpod
.Under Podman:
Under Docker:
Anything else we need to know?:
Environment:
kind version
): kind v0.8.1 go1.14.2 linux/amd64kubectl version
):docker info
):/etc/os-release
):Podman info:
The text was updated successfully, but these errors were encountered: