-
Notifications
You must be signed in to change notification settings - Fork 91
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
LMP 3.9 devc mode -DdockerRunOpts does not work #1740
Comments
|
@gkwan-ibm Hi Gilbert, can you try We replaced |
BTW, Rancher Desktop has the same issue. |
@gkwan-ibm I'm glad |
Noting that we didn't carry forward the "property" config in the past in the case of 'serverEnvFile' replacing 'serverEnv'. Not saying we are completely bound by that decision. If we want to support both properties we have to flag as an error or define our own precedence between them since I'm not sure how to have Maven do that for us. I think an error would be OK. |
-DdockerRunOpts
does not workScenario 1:
mvn liberty:devc -DdockerRunOpts="-e DB_HOSTNAME=172.17.0.2" -DserverStartTimeout=240
docker exec -it liberty-dev env | grep DB_HOSTNAME
Scenario 2:
mvn liberty:devc -DdockerRunOpts="-e DB_HOSTNAME=172.17.0.2" -DserverStartTimeout=240
docker exec -it liberty-dev env | grep DB_HOSTNAME
DB_HOSTNAME=172.17.0.2
The text was updated successfully, but these errors were encountered: