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
change docker daemon.json "buildkit" on the last line to FALSE, like so:
{
"builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } },
"experimental": false,
"features": { "buildkit": false }
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With