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
When you creating a project with a space in the name, it results in the docker run -it {tag} command failing due to this line not escaping the space correctly.
Test case:
$ mkdir "my app"
$ cd"my app"
$ dotnet new console
Adding the Dockerize tool to the .csporj
$ dotnet dockerize -t myapp
$ docker run -it myapp
produces the result of
/bin/sh: 1: /projectBinaries/my: not found
Manually modifying the dockerfile and rebuilding it to have an \ before any spaces results in the docker run command working as expected.
The text was updated successfully, but these errors were encountered:
When you creating a project with a space in the name, it results in the
docker run -it {tag}
command failing due to this line not escaping the space correctly.Test case:
Adding the Dockerize tool to the .csporj
produces the result of
Manually modifying the dockerfile and rebuilding it to have an
\
before any spaces results in thedocker run
command working as expected.The text was updated successfully, but these errors were encountered: