package
1.7.7
Repository: https://github.com/containerd/nerdctl.git
Documentation: pkg.go.dev

# Functions

Attach attaches stdin, stdout, and stderr to a running container.
Commit will commit a container’s file changes or settings into a new image.
Cp copies files/folders between a running container and the local filesystem.
Create will create a container.
Exec will find the right running container to run a new command.
GenerateLogURI generates a log URI for the current container store.
Inspect prints detailed information for each container in `containers`.
Kill kills a list of containers.
List prints containers according to `options`.
No description provided by the author
NewStatusError creates an ErrContainerStatus from container id and status.
ParseDevice parses the give device string into hostDevPath and mode(defaults: "rwm").
ParseGPUOptCSV parses a GPU option from CSV.
Pause pauses all containers specified by `reqs`.
Prune remove all stopped containers.
Remove removes a list of `containers`.
RemoveContainer removes a container from containerd store.
Rename change container name to a new name containerID is container name, short ID, or long ID.
Restart will restart one or more containers.
Start starts a list of `containers`.
Stats displays a live stream of container(s) resource usage statistics.
Stop stops a list of containers specified by `reqs`.
Top performs the equivalent of running `top` inside of container(s).
Unpause unpauses all containers specified by `reqs`.
UpdateContainerRestartPolicyLabel updates the restart policy label of the container.
Wait blocks until all the containers specified by reqs have stopped, then print their exit codes.
WithoutRunMount returns a SpecOpts that unmounts the default tmpfs on "/run".
WithSysctls sets the provided sysctls onto the spec.

# Structs

ContainerTopOKBody is from https://github.com/moby/moby/blob/v20.10.6/api/types/container/container_top.go ContainerTopOKBody OK response to ContainerTop operation.
ErrContainerStatus represents an error that container is in a status unexpected by the caller.
GPUReq is a request for GPUs.
No description provided by the author