permission denied
来源:3-3 DIY一个Base Image
weixin_慕姐0320292
2020-01-30
添加了go文件,运行报错,请看一下,谢谢
docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused “exec: “/nihao.go”: permission denied”: unknown.
Dockerfile:
FROM scratch
ADD nihao.go /
CMD ["/nihao.go"]
写回答
1回答
-
麦兜搞IT
2020-01-31
permission denied,您这个nihao.go不允许运行,这个是一个可执行文件么?您不使用容器在本地能运行么
012020-02-01
相似问题