renamed Unit#container_ssh_port to Unit#docker_port and generalized functionality