Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR [internal] load metadata for docker.io/library/python.alpine3.8:latest

I am new to Docker and learning how to creating an image in container but I am having this error ERROR [internal] load metadata for docker.io/library/python.alpine3.8.3:latest

Please someone help me to fix this error!

FROM python.alpine3.8
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
EXPOSE 5000
CMD python 

The above is the code of Dockerfile

like image 740
Parth singh Avatar asked Aug 13 '26 10:08

Parth singh


1 Answers

change docker daemon.json "buildkit" on the last line to FALSE, like so:

  {
        "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } },
        "experimental": false,
        "features": { "buildkit": false }
    }
like image 106
DepletedKnowledge Avatar answered Aug 16 '26 00:08

DepletedKnowledge



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!