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

Permission denied error - rootless docker #648

Closed
Dumdidldum opened this issue Mar 14, 2022 · 3 comments
Closed

Permission denied error - rootless docker #648

Dumdidldum opened this issue Mar 14, 2022 · 3 comments
Labels
A-container-engine Area: container engines A-docker Area: docker container engine enhancement

Comments

@Dumdidldum
Copy link

hello, i have set up rootless docker according to this guide:
https://docs.docker.com/engine/security/rootless/

now i can no longer build with cross, as it always results in this error:

error: failed to create directory `/target/debug`

Caused by:
  Permission denied (os error 13)

version:

cross 0.2.1
cargo 1.59.0 (49d8809dc 2022-02-10)
@reitermarkus
Copy link
Member

Try running with --verbose to get more details on what happens. Also, try installing cross from the main branch since 0.2.1 is quite old at this point.

@Dumdidldum
Copy link
Author

Sadly i did not find a solution..
I think it ma just not work with rootless docker

For now i have returned to a normal docker setup and everything is working as expected!
Thanks for this great tool!

@Alexhuszagh
Copy link
Contributor

Related to #889.

@Alexhuszagh Alexhuszagh added bug A-container-engine Area: container engines A-docker Area: docker container engine enhancement and removed bug labels Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-container-engine Area: container engines A-docker Area: docker container engine enhancement
Projects
None yet
Development

No branches or pull requests

3 participants