I would like to have any containers I run on my Ubuntu 15.10 host be automatically assigned a new IP address from the DHCP server (in my modem/router) on my home network. I searched for solutions on this forum, and so far found this similar post-
but no working solutions to the question asked in the post.
If this is an unusual or deprecated technique, for whatever reason, I would like to know explicitly why. And also have some usual and acceptable alternative technique suggested by experienced users of Docker.
In my limited experience doing research into this topic, particularly in the Docker tutorial, it seems that ports on the container can be mapped with -p to ports on the host. Also, because Docker OS-level virtualisation is different from VirtualBox virtualisation, I understand that there is a theoretical difference between doing what is done in VirtualBox (bridge network adapter) and what is acceptable and usual in Docker.
I would appreciate any and all feedback the experienced users and developers of Docker have on this subject.
Robert M. Koretsky
OMG, I answered my own question!