MCPcopy Create free account
hub / github.com/docker/compose / LocalVolumes

Method LocalVolumes

cmd/formatter/container.go:271–273  ·  view source on GitHub ↗

LocalVolumes returns the number of volumes using the "local" volume driver.

()

Source from the content-addressed store, hash-verified

269
270// LocalVolumes returns the number of volumes using the "local" volume driver.
271func (c *ContainerContext) LocalVolumes() string {
272 return fmt.Sprintf("%d", c.c.LocalVolumes)
273}
274
275// Networks returns a comma-separated string of networks that the container is
276// attached to.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected