-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error in resolving yum running dockerfile oracle 18.3 #1133
Comments
Your container doesn't have access to the internet, hence why it cannot resolve host |
I was trying to build docker image with the following command. |
What is the error? |
Okay, I am posting the detailed error log. Please note, I added net.ipv4.ip_forward=1, but, still getting the error.
|
This is not the reason for the error. If docker came to this point he had already downloaded various updates from the internet. |
FYI: I initially had the same error. Now its gone but I still get:
Does not seem to be very robust. |
In my case restarting docker service solved the issue sudo service docker restart |
Was the issue resolved? I am also facing the same issue...Restarting the docker service did not help.... |
In my case (19.3), resolved ! |
Getting this error while using yum install inside dockerfile oracle 18.3
Loaded plugins: ovl
https://yum.oracle.com/repo/OracleLinux/OL7/UEKR4/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: yum.oracle.com; Unknown error"
Trying other mirror.
One of the configured repositories failed (Latest Unbreakable Enterprise Kernel Release 4 for Oracle Linux 7Server (x86_64)),
The text was updated successfully, but these errors were encountered: