What do I do about two Docker containers on separate VMs that have the same IP address on my network?
I have two CentOS 7.x servers. Both have exactly one Docker container. When I use ifconfig, the docker0 instance has the same IP address on each server. Will this cause a problem?
I used the Docker inspect command to determine the IP address of each container. The containers have the same IP address. How do I give them unique IP addresses? Maybe it isn't necessary.
My goal is to make one container a yum repository server and the other a client. I want to test the client with yum commands. It currently does not work. The client will have an /etc/yum.repos.d/special.repo file. For the baseurl stanza, should I use FTP or HTTP? If I choose HTTP, must the repo server run a web service?
How is the file constructor of the baseurl stanza created? I looked at different repo files on client servers. But they were for web-based repos. Is the path based on the / directory of the Linux server?
I know how to create the repo (e.g., put the .rpm files in a directory, then run createrepo /mnt/specialrepo). I just don't know what the path of the file constructor should be like in the special.repo file for the baseurl on the client server (e.g. x.x.x.x/mnt/specialrepo).