Skip to content

Error creating a docker container with crops/poky #113

@sgordon777

Description

@sgordon777

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions