Script for automated mounting in container: to get container port number container must be running