Skip to content

I can't use the docker machine with another user than root #2

@stephanerenou

Description

@stephanerenou

Hello,
I would like to use the machine to build my code using a mounted volume.
The concern is that this generates the files as root on my host.
A workaround to this is to run the machine using the user option as -u $UID
Unfortunately in that case, haxe complains as below
docker run -u $UID -it --rm --name my-running-aa my-haxe-app haxe build.hxml
Error: Error: This is the first time you are runing haxelib. Please run haxelib setup first

getting the concern with release 3.4 and 3.4.2

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