-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Error: statfs /tmp/secret: no such file or directory #8302
Comments
Volumes over remote are not supported. The podman remote client will try to bind mount the file on the server side. see issue #8016 |
Thanks for the info. But are there workarounds or solutions if I need to mount files on my host machine? |
Well, you can copy it to your server and then mount it. |
This is not a great solution for development workflows. When coming from Docker, this is a large regression. |
docker does not mount via an actual remote connection either. Docker desktop does provide support to mount directories in the VM. If you are looking for this we have the same with |
when I mount a local file on host machine to the container, this error pops out.
my commands are:
errors:
Environment versions:
Client:
Version: 2.1.1
API Version: 2.0.0
Go Version: go1.15.2
Built: Sat Sep 26 09:07:39 2020
OS/Arch: darwin/amd64
Server:
Version: 2.1.1
API Version: 2.0.0
Go Version: go1.15.2
Built: Thu Jan 1 08:00:00 1970
OS/Arch: linux/amd64
Environment setups
Explanation:
I launched a ubuntu instance in my virtual machine, and use podman client (on Mac OS) to connect to the podman service in ubuntu.
After that, I can use podman just like I use docker on Mac OS.
But when I test pulling a mysql image and try to mount a file to be used while creating the container instance, this error pops out and stop me from proceeding.
I tested the exact same command for docker, and it works perfectly, so I guess there is a potential issue with podman?
The text was updated successfully, but these errors were encountered: