MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / Start

Method Start

cli/pkg/common/docker.go:152–155  ·  view source on GitHub ↗
(ctx context.Context, container string)

Source from the content-addressed store, hash-verified

150}
151
152func (d Docker) Start(ctx context.Context, container string) error {
153 err := d.client.ContainerStart(ctx, container, types.ContainerStartOptions{})
154 return err
155}
156
157func (d Docker) Stop(ctx context.Context, container string) error {
158 timeout := time.Second * 5

Callers 3

RestartMethod · 0.95
OpenBrowserFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected