Run can be called with the following to set environment variables and exposed ports Run("containerName","imagePath",[]string{"MONGO_HOST=172.0.0.1"}, []string{"8080/tcp","127.0.0.1"}) This utilises portSpecTemplate and the expected format for port specifications "ip:hostPort:containerPort"
(name, imagePath string, envVars []string, hostconfig []string)
source not stored for this graph (policy: none)
no outgoing calls