无法 运行 OpenFOAM docker 图像
unable to run OpenFOAM docker image
我正在尝试使用 the OpenFOAM docker image。我正确安装了所有内容,当我尝试 运行 OpenFOAM_Start
时出现错误:
Started machines may have new IP addresses. You may need to re-run the docker-machine env
command.
Error response from daemon: No such container: of_1712
Error: failed to start containers: of_1712
Error: No such container: of_1712
Stopping "default"...
Machine "default" was stopped.
然后我 运行 docker-machine env
命令,我得到了错误:
Error checking TLS connection: Host is not running
如果您能帮助我了解问题所在以及如何解决,我将不胜感激。
P.S。希望这不是题外话。如果我应该在不同的 stackexchange 中问这个问题,请告诉我。
我找到了解决方案,但我仍然不确定上面的错误是什么意思。如 OpenFOAM 安装指南中所述,在安装 docker 图像后,您应该 运行 the:
"OF_Create_Env"
shortcut on the Desktop. A shell will open and close automatically,
completing setup of the user working environment. This step is mandatory
only on the first occasion of OpenFOAM for Windows installation.
然后您可以再次 运行 OpenFOAM_Start
,它就可以正常工作了。
我正在尝试使用 the OpenFOAM docker image。我正确安装了所有内容,当我尝试 运行 OpenFOAM_Start
时出现错误:
Started machines may have new IP addresses. You may need to re-run the
docker-machine env
command.Error response from daemon: No such container: of_1712
Error: failed to start containers: of_1712
Error: No such container: of_1712
Stopping "default"...
Machine "default" was stopped.
然后我 运行 docker-machine env
命令,我得到了错误:
Error checking TLS connection: Host is not running
如果您能帮助我了解问题所在以及如何解决,我将不胜感激。
P.S。希望这不是题外话。如果我应该在不同的 stackexchange 中问这个问题,请告诉我。
我找到了解决方案,但我仍然不确定上面的错误是什么意思。如 OpenFOAM 安装指南中所述,在安装 docker 图像后,您应该 运行 the:
"OF_Create_Env" shortcut on the Desktop. A shell will open and close automatically, completing setup of the user working environment. This step is mandatory only on the first occasion of OpenFOAM for Windows installation.
然后您可以再次 运行 OpenFOAM_Start
,它就可以正常工作了。