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

Error creating a docker container with crops/poky #113

Open
sgordon777 opened this issue Sep 16, 2024 · 0 comments
Open

Error creating a docker container with crops/poky #113

sgordon777 opened this issue Sep 16, 2024 · 0 comments

Comments

@sgordon777
Copy link

sgordon777 commented Sep 16, 2024

I am trying to create a docker container following these instructions:

https://github.com/crops/poky-container/blob/master/README.md

I am quite new to both yocto-build and Docker. My Host is Ubuntu 22.04. My Command:

docker run --rm -it -v /home/sgordon777/dev/yocto:/workdir crops/poky --workdir=/workdir

This command fails with:

"The uid:gid for "/workdir" is "0:0". The uid and gid must be non-zero. Please check to make sure the "volume" or "bind" specified using either "-v" or "--mount" to docker, exists and has a non-zero uid:gid."

I have checked and my local director (~/dev/yocto) is:
-present
-owned by my user, not root

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

1 participant