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

Use USER $USER_ID, in case a user already exists with the specified UID #9142

Closed
wants to merge 1 commit into from

Conversation

mmosca
Copy link
Collaborator

@mmosca mmosca commented Jun 27, 2023

Docker build triggered by build.sh may fail if a user already exists with the same UID as the current user as it tries to switch to the inav user which was not created.

This will specify the UID instead of the username in docker.

@mmosca
Copy link
Collaborator Author

mmosca commented Jun 27, 2023

Turns out that it was probably user error.

I can't reproduce it locally, even when my id clashes, and the user fixed the issue by changing the permission to the docker socket.

@mmosca mmosca closed this Jun 27, 2023
@mmosca mmosca deleted the mosca-fix-docker-user branch June 27, 2023 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant