MCPcopy Create free account
hub / github.com/ExpediaGroup/flyte / Run

Method Run

docker/docker.go:37–37  ·  view source on GitHub ↗

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 from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

startMongoContainerMethod · 0.95
runTestsWithMongoFunction · 0.65
TestFeaturesFunction · 0.65
runTestsWithMongoFunction · 0.65
runTestsWithMongoFunction · 0.65
updateTTLFnFunction · 0.65
runTestsWithMongoFunction · 0.65
TestPack_SetStatusFunction · 0.65
runTestsWithMongoFunction · 0.65
TestRemoveDupWhiteSpacesFunction · 0.65
TestSafeCopyPasteFunction · 0.65

Implementers 1

dockerdocker/docker.go

Calls

no outgoing calls

Tested by 12

runTestsWithMongoFunction · 0.52
TestFeaturesFunction · 0.52
runTestsWithMongoFunction · 0.52
runTestsWithMongoFunction · 0.52
runTestsWithMongoFunction · 0.52
TestPack_SetStatusFunction · 0.52
runTestsWithMongoFunction · 0.52
TestRemoveDupWhiteSpacesFunction · 0.52
TestSafeCopyPasteFunction · 0.52
runTestsWithMongoFunction · 0.52