Facing error while running tutorial on Docker website on containerization of a python web app

ERROR [server internal] load metadata for docker.io/library/python:python3-slim

Please help

failed to solve: python:python3-slim: docker.io/library/python:python3-slim: not found

This doesn’t really help us to understand exactly what you did and how you did it.
It is not unusual that posts that provide not enough information, don’t get any answer at all.

Please share the exact commands if docker run was used, or if docker compose was used, the content of the compose file, and the exact output you get.

@meyay is right, but if you format your post properly using the </> button or just using standard markdown manually, the image tag will not be converted to links and we can see a more obvious error message. I formatted your posts now. You are clearly trying to pull python:python3-slim which doesn’t exist, because it should be python:3-slim

Always check the image descriptions:

https://hub.docker.com/_/python