MCPcopy Index your code
hub / github.com/ContainerSSH/ContainerSSH / start

Method start

internal/test/docker.go:233–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

231}
232
233func (d *dockerContainer) start() {
234 d.t.Helper()
235 d.t.Logf("Starting container %s...", d.containerID)
236 if err := d.client.ContainerStart(context.Background(), d.containerID, containertypes.StartOptions{}); err != nil {
237 d.t.Fatalf("failed to start container %s (%v)", d.containerID, err)
238 }
239}
240
241func (d *dockerContainer) remove() {
242 d.t.Helper()

Callers 2

containerFromBuildFunction · 0.95
containerFromPullFunction · 0.95

Calls 2

FatalfMethod · 0.80
LogfMethod · 0.65

Tested by

no test coverage detected