0

I'm trying to deploy a python application as a linux container on windows 10. I installed docker desktop with wsl and successively launch docker-compose stack. I created script to be run on system boot by task scheduler: docker compose -d

So, I required to start docker daemon on boot. I found this article which explained how to do this. After this, I tried to launch container. And got the error:

Sending build context to Docker daemon  421.8MB
Step 1/14 : FROM python:3.10-bullseye
3.10-bullseye: Pulling from library/python
1 error occurred:
        * Status: no matching manifest for windows/amd64 10.0.19044 in the manifest list entries, Code: 1

Dockerfile:

# syntax=docker/dockerfile:1
FROM python:3.10-bullseye
WORKDIR /app
COPY Pipfile Pipfile 
RUN apt-get update
RUN apt-get install ffmpeg libsm6 libxext6  -y
RUN pip install pipenv 
RUN pipenv install
COPY . .
ENV STREAMLIT_BROWSER_GATHER_USER_STATS=false
ENV STREAMLIT_SERVER_MAX_UPLOAD_SIZE=2000
ENV STREAMLIT_SERVER_RUN_ON_SAVE=true
ENV STREAMLIT_SERVER_HEADLESS=true
CMD ["pipenv", "run", "streamlit", "run", "src/main.py"]
EXPOSE 8501

docker-compose.yml:

version: "1.27.0+"

services:
  app:
    build: .
    ports:
       - 8501:8501
Intolighter
  • 150
  • 3
  • 15

0 Answers0