当我看到这个错误时,我不知道该怎么做:
container_linux.go:265: starting container process caused "exec: \".\": executable file not found in $PATH"
docker: Error response from daemon: oci runtime error: container_linux.go:265: starting container process caused "exec: \".\": executable file not found in $PATH".
我跑的时候会发生:
docker run [IMAGE_NAME] .
如何正确设置此设置以便运行我的docker容器?
答案 0 :(得分:1)
您的命令不正确。当您尝试执行.
时,您尝试执行[IMAGE_NAME]
:
docker run [IMAGE_NAME]
这可以解决您的问题。