-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
run --workdir=/nonesuch: chdir: No such file or directory: OCI runtime command not found error #5084
Comments
Could this be runc vs crun? |
Also, expected behavior is that the workdir will be created? |
Oh, good call: it could very well be f30# podman run -it --workdir=/none/such alpine sh
/none/such # touch abc
/none/such # ls -l /none/such/abc
-rw-r--r-- 1 root root 0 Feb 4 17:56 /none/such/abc
/none/such # |
@giuseppe PTAL |
Yuck, I don't like the default. Basically this ends up with typos creating directories in the container... |
yes this is a crun vs runc difference. I can easily change it in crun if we agree on what behaviour makes more sense. I agree with Dan and I think that |
I am closing this since, I see this as a Bug in runc/docker, not something we should fix. |
The `crun` runtime does not create a directory when `chdir`ing to a non-existent directory. containers/podman#5084
The `crun` runtime does not create a directory when `chdir`ing to a non-existent directory. containers/podman#5084
This is a change in longstanding behavior. I don't know what the correct behavior should be for this case, but it is a difference from docker and from all versions of podman up to now.
podman-1.8.0-0.1.fc31.x86_64
conmon-2.0.10-2.fc31.x86_64
Curiously, I cannot reproduce with podman @ master on f30.
The text was updated successfully, but these errors were encountered: