I try to build an image using same steps in the demo in my vm centos 8 using the command (docker build .) on the folder that contains my Dockerfile, after executing the command it returned me an error when trying to get python (E: Unable to locate package python).
I tried to use host network by adding option (–network=host) but its not working.
I think that the problem is related to containers connectivity to the outside.
Can any one help me ?