H2S Forum

Could not resolve host: yum.oracle.com; Unknown erroR

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”

The docker is not getting an internet connection. Restart the docker using this command, if you are on the Linux operating system…

sudo service docker restart

The Windows users can simply right click on the Docker icon given in the system tray and select the Restart option.
Docker%20restart%20on%20Windows