added internal/external port support for docker containers