package libcontainerd
import "github.com/dotcloud/docker/libcontainerd"
Index ¶
Functions ¶
func ReplaceContainer ¶
func ReplaceContainer(ctx context.Context, client types.Client, id string, spec *specs.Spec, shim string, runtimeOptions interface{}, opts ...containerd.NewContainerOpts) (types.Container, error)
ReplaceContainer creates a new container, replacing any existing container with the same id if necessary.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
libcontainerd/queue | |
libcontainerd/remote | |
libcontainerd/shimopts | |
libcontainerd/supervisor | |
libcontainerd/types |
- Version
- v28.0.0-rc.1+incompatible
- Published
- Feb 6, 2025
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 1 minute ago –
Tools for package owners.