我已经在我的本地机器上创建了一个 docker 图像,它工作得很好,但是当我上传到我的远程机器(亚马逊 Linux)时,每次我尝试运行它时它都会返回standard_init_linux.go:178: exec user process caused "no such file or directory"
我无法弄清楚问题出在哪里,可以谁来帮帮我?这是我的码头文件:
# Use an official Golang runtime as a parent image
FROM golang:1.8-alpine
# Set the working directory to /app
WORKDIR /app
# Copy the current directory contents into the container at /app
ADD . /app
# Run weatherai when the container launches
ENTRYPOINT ["/app/weatherai"]