I can't use the docker machine with another user than root
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker
- Domain
- devops
Research direction
Start by inspecting the Docker image configuration and reproduce the reported docker run -u $UID ... haxe build.hxml command with a mounted volume. Done means a non-root user can run Haxe without the first-run haxelib setup error and generated files are not owned by root on the host.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Dockerfile
- Stars
- 30
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HaxeFoundation/docker-library-haxe
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
HaxeFoundation/docker-library-haxe#15 · 1 comment ·
All issues in HaxeFoundation/docker-library-haxe
Similar issues
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
drydocs/meridian#1503 · 1 comment ·
Maintainers usually reply within 2 days
-
bug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug critical devops
Difficulty 1/5 Under an hour Newbie friendliness 85/100
ThinkLikeAFounder/pulsartrack#1358 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
agentscope-ai/AgentTeams#1707 ·
Maintainers usually reply within 1 day