You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
I made quite a few tests and conclude saying that When using a "-" with Yo Docker as part of the project/composed app, Build/Debugging doesn't work.
THIS DOESN’T WORK:
$imageName="cesardl/netcorewebapimicroservice25"
$projectName="docker-composed-app" BUG
$serviceName="netcorewebapimicroservice25"
THIS WORKS:
$imageName="cesardl/netcore-webapi-microservice2"
$projectName="dockercomposedapp"
$serviceName="netcore-webapi-microservice2"
I think that the issue/bug with “-” happens only for the projectName (which is the ComposedAppName)
Thanks,
Cesar.
Sample error:
Starting: "C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" .\dockerTask.ps1 -StartDebugging
Running on http://docker:5000
StartDebugging : Could not find a container named docker-composed-app_netcorewebapimicroservice25_1
At C:\Dev\BugCaseComposedApp\netcorewebapimicroservice25\dockerTask.ps1:156 char:5
…estion. (#107)
Fix for #106: docker-compose does not support having a - in the project name, the generator has been updated to strip them from the string provided by the user (consistent with docker-compose’s behavior)
This should now be fixed in master. The underlying issue is that docker-compose ignores -s in the project name for docker-compose. We have updated the generator to like-wise ignore -s (and other unsupported characters) in the project name for docker compose.
I made quite a few tests and conclude saying that When using a "-" with Yo Docker as part of the project/composed app, Build/Debugging doesn't work.
THIS DOESN’T WORK:
$imageName="cesardl/netcorewebapimicroservice25"
$projectName="docker-composed-app" BUG
$serviceName="netcorewebapimicroservice25"
THIS WORKS:
$imageName="cesardl/netcore-webapi-microservice2"
$projectName="dockercomposedapp"
$serviceName="netcore-webapi-microservice2"
I think that the issue/bug with “-” happens only for the projectName (which is the ComposedAppName)
Thanks,
Cesar.
Sample error:
Starting: "C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" .\dockerTask.ps1 -StartDebugging
Running on http://docker:5000
StartDebugging : Could not find a container named docker-composed-app_netcorewebapimicroservice25_1
At C:\Dev\BugCaseComposedApp\netcorewebapimicroservice25\dockerTask.ps1:156 char:5
EOF
"C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" exited with code 0 (0x0).
The text was updated successfully, but these errors were encountered: