I have a Server which has RHEL OS. I am creating a docker container inside the Server with the RHEL image as well.
My goal is to login to the docker container with a separate IP address as it was a VM.
So if the IP of the Server is 192.168.1.10
and the IP of the container inside the server is 192.168.1.15
, I want to log in to both 192.168.1.10
and 192.168.1.15
as it was a separate VM. How can I achieve that?
Thanks for your help in advance.