Dynamically allocated port

Let's implement what is proposed in !127 (closed): use dynamically allocated port inside containers, to allow using show port; in applications

(which currently is returning 5432 always, introducing confusions and caveats -- this is a problem in certain scenarios).

Edited by Nikolay Samokhvalov