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

How to use non-native backends #333

Open
baszalmstra opened this issue Feb 19, 2021 · 0 comments
Open

How to use non-native backends #333

baszalmstra opened this issue Feb 19, 2021 · 0 comments
Labels

Comments

@baszalmstra
Copy link

As far as I understand the native backend is much slower than the other two available backends. Im trying to figure out how to use them though. My end-goal would be to be able to use faster snapshotting in a Kubernetes container. However, Im already unable to do this locally.

Running the example from the readme, while forcing overlayfs doesn't seem to work:

docker run --rm -it --name img --privileged --volume $(pwd):/home/user/src:ro --workdir /home/user/src --volume "${HOME}/.docker:/root/.docker:ro" --security-opt seccomp=unconfined --security-opt apparmor=unconfined r.j3ss.co/img build -t user/myimage . --debug -b overlayfs

It results in:

Error: failed to solve: failed to mount /run/user/1000/containerd-mount679459305: invalid argument

after pulling an image.

Could you clarify how to use the different backends?

(Im running Docker Engine - Community version 20.10.3)

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

No branches or pull requests

2 participants