MCPcopy Create free account
hub / github.com/Mirantis/cri-dockerd / CreateContainer

Method CreateContainer

libdocker/client.go:65–65  ·  view source on GitHub ↗
(
		createConfig ContainerCreateConfig,
	)

Source from the content-addressed store, hash-verified

63 InspectContainer(id string) (*dockertypes.ContainerJSON, error)
64 InspectContainerWithSize(id string) (*dockertypes.ContainerJSON, error)
65 CreateContainer(
66 createConfig ContainerCreateConfig,
67 ) (*dockercontainer.CreateResponse, error)
68 StartContainer(id string) error

Callers 10

CreateContainerMethod · 0.65
TestListContainersFunction · 0.65
TestContainerStatusFunction · 0.65
TestContainerLogPathFunction · 0.65
RunPodSandboxMethod · 0.65
CreateContainerMethod · 0.65

Implementers 5

instrumentedInterfacelibdocker/instrumented_client.go
kubeDockerClientlibdocker/kube_docker_client.go
FakeDockerClientlibdocker/fake_client.go
MockDockerClientInterfacelibdocker/testing/mock_client.go
MockDockerClientInterfaceMockRecorderlibdocker/testing/mock_client.go

Calls

no outgoing calls

Tested by 6

TestListContainersFunction · 0.52
TestContainerStatusFunction · 0.52
TestContainerLogPathFunction · 0.52