'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



Solution 1:[1]

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

  {
        "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } },
        "experimental": false,
        "features": { "buildkit": false }
    }

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 DepletedKnowledge