Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

How to fix booksapi exiting with error code 127 in Docker? #143

Answered by knjk04
knjk04 asked this question in Q&A
Discussion options

You must be logged in to vote

Run (Get-Content ./docker/bin/start.sh -raw) | % {$_ -replace "`r", ""} | Set-Content -NoNewline ./docker/bin/start.sh in Powershell inside the books-api root directory.

Next, rebuild the image:
docker-compose build --build-arg mvn_arg="clean package -DskipTests"

Lastly, generate an container of the refreshed image:
docker-compose up booksapi

Credit: #139 (comment)

Replies: 1 comment

Comment options

knjk04
Dec 28, 2021
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by knjk04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant