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

Trim user id before adding to docker run command #444

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

cherylking
Copy link
Member

@cherylking cherylking commented Mar 6, 2024

For internally reported issue with running devc on LMP 3.10.1. The same scenario worked on LMP 3.10. The error reported was:

[ERROR] Failed to execute goal io.openliberty.tools:liberty-maven-plugin:3.10.1:devc (default-cli) on project guide-testcontainers: Error starting the server in dev mode.: An error occurred while running the container: docker: Error response from daemon: unable to find user 0 : no matching entries in passwd file. RC=125 -> [Help 1]

There seems to be a trailing space for the --user 0 on the docker run command. The changes made in this PR causes this space to be preserved, whereas it would have been trimmed previously.

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

Successfully merging this pull request may close these issues.

1 participant