MCPcopy Index your code
hub / github.com/docker/cli / ContainerCreate

Method ContainerCreate

cli/command/container/client_test.go:90–95  ·  view source on GitHub ↗
(_ context.Context, options client.ContainerCreateOptions)

Source from the content-addressed store, hash-verified

88}
89
90func (f *fakeClient) ContainerCreate(_ context.Context, options client.ContainerCreateOptions) (client.ContainerCreateResult, error) {
91 if f.createContainerFunc != nil {
92 return f.createContainerFunc(options)
93 }
94 return client.ContainerCreateResult{}, nil
95}
96
97func (f *fakeClient) ContainerRemove(ctx context.Context, containerID string, options client.ContainerRemoveOptions) (client.ContainerRemoveResult, error) {
98 if f.containerRemoveFunc != nil {

Callers 1

createContainerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected