"bind mounts cannot have any filesystem-specific options applied" error #25891
Replies: 5 comments 2 replies
-
Just tried in a test VM running Fedora 42 and it works just fine:
Slightly different versions |
Beta Was this translation helpful? Give feedback.
-
Just tried on fedora 42 inside a VM, and it works just fine:
This caught my attention, opensuse (right) uses |
Beta Was this translation helpful? Give feedback.
-
Ok so maybe that's a problem with my distro's choice to go for In any case now it works also on my daily OS (not VM), which is tumbleweed, by overriding the OCI runtime:
Paste the following content:
(found here).
The value for the |
Beta Was this translation helpful? Give feedback.
-
I just built from source https://github.com/opencontainers/runc And then used that executable for my
And it works again. So this is probably an issue with |
Beta Was this translation helpful? Give feedback.
-
sounds like containers/buildah#6071 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The cache mount I have used until today suddenly stopped working after a
podman system prune
(needed to free up some space).This is the error I'm getting:
This is the sample repo: https://github.com/andreaippo/demo-tracing
Once cloned I just run
podman-compose up -d --build --force-recreate
I'm using SELinux enforcing:
podman-info
:Basically what I want to achieve is that repeated executions of the
podman-compose
command WON'T result in the first stage of my build to pull again all the maven dependencies from the Internet, every time.I had found this
--mount=type=cache
tip on the web at some point, and it worked just fine.Any other approach that achieves the same goal would be perfect.
I have tried the following, but I get the same error:
extra step: create cache dir:
mkdir build-cache
then use
type=bind
inDockerfile
RUN --mount=type=bind,src=build-cache,target=/root/.m2 mvn clean install -Dmaven.test.skip=true
but as I said, to no avail. Still same error.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions