Skip to content
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

Actual bind mount at build time #2085

Closed
evgenylink opened this issue Apr 24, 2021 · 1 comment
Closed

Actual bind mount at build time #2085

evgenylink opened this issue Apr 24, 2021 · 1 comment

Comments

@evgenylink
Copy link

Why read/write bind mount isn't allowed? Why can't I choose source for it outside of current directory?
This is by all means possible with docker run:

docker run -it --rm \
    --mount type=bind,src=/var/cache/pacman/pkg/,dst=/var/cache/pacman/pkg/ image
@tonistiigi
Copy link
Member

#1512

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants