I have installed RedHat Enterprise Linux 8.4 (minimal install) on my local server, and got some docker related issues.
Then I found that /etc/resolv.conf was missing.
After executing "systemctl reload NetworkManager", the file was made and docker worked.
I'm not sure why I have to reload NetworkManager to create resolv.conf and whether my network is working properly. Is there any common way to do this on RHEL8?