MCPcopy
hub / github.com/basecamp/once / containerConfig

Method containerConfig

internal/docker/application.go:432–440  ·  view source on GitHub ↗
(env []string)

Source from the content-addressed store, hash-verified

430}
431
432func (a *Application) containerConfig(env []string) *container.Config {
433 return &container.Config{
434 Image: a.Settings.Image,
435 Labels: map[string]string{
436 labelKey: a.Settings.Marshal(),
437 },
438 Env: env,
439 }
440}

Callers 1

deployWithVolumeMethod · 0.95

Calls 1

MarshalMethod · 0.45

Tested by

no test coverage detected