我目前正在尝试将我的 docker 应用程序部署到容器注册表 Azure。我可以在本地运行我的 docker 映像,但是当我将其部署到 azure 时,它会出现以下错误:
standard_init_linux.go:207: exec 用户进程导致“exec 格式错误” 这是我的 dockerfile:
*Pull a pre-built alpine docker image with nginx and python3 installed
*this image is from docker community, its small so our upload to contain will be faster
FROM tiangolo/uwsgi-nginx-flask:python3.7
FROM ubuntu:latest
ENV LISTEN_PORT=8400
EXPOSE 8400
RUN apt-get update && apt-get install -y /
curl apt-utils apt-transport-https debconf-utils gcc build-essential g++-5\
&& rm -rf /var/lib/apt/lists/*
*adding custom MS repository
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
RUN …Run Code Online (Sandbox Code Playgroud)