Building Docker Rust Image


When I try to build a Rust Image with a rust app inside like in the

Network and DNS work perfectly fine on my host but when I try to build an
image from the rust official image, the build process has issue:

0.795 Updating index
0.799 warning: spurious network error (3 tries remaining): [6] Couldn’t resolve host name (Could not resolve host:

It seems like an issue from inside the building image with DNS …

Any fix to help me?