通过按CTRL + F5执行在容器内启动应用程序的过程时,在Visual Studio 2017中运行docker客户端命令的Shell(cmd或powershell?)在哪里?
我的问题是:
在哪个docker客户端命令运行的Shell(cmd或powershell?)上在Visual Studio 2017中按CTRL + F5执行在容器中启动应用程序的过程?
Where is the Shell (cmd or powershell ?) on which docker client commands run in Visual Studio 2017 when performing the process of starting the application within container by pressing CTRL+F5?
为什么我有这个问题:
我会想要在VS 2017执行docker命令将应用程序放入docker容器时按CTRL + F5,在docker客户端命令的上下文中指定一些环境变量,但我不知道Shell在哪个docker
客户端命令运行,否则我可以在那里声明环境变量。
I would like to specify some environment variables into the context of docker client commands when VS 2017 performs the docker commands to put the application into docker container by pressing CTRL+F5, but I don't know where is the Shell on which docker client commands run, otherwise I can claim the environment variables there.
修复它,
它是cmd,不要忘记重新打开你的vs 2017以验证你设置的环境变量是否生效。
it is cmd, and don't forget to re-open your vs 2017 to verify whether the environment variables you set takes effect.
>