CONTAINERD-CTR(8)
๐ ctr(8) โ the containerd command, but make it a group chat
okay so real talk first, bestie: ctr is an unsupported debug and administrative client for interacting with the containerd daemon. and because it's unsupported, the commands, the options and the operations are not guaranteed to be backward compatible or stable from release to release of the containerd project. likeโฆ no cap, no promises, the vibes shift between releases. read the flags, love the flags, don't build your whole personality on them ๐ซถ
๐ NAME
ctr
โจ SYNOPSIS
ctr
[--address|-a]=[value]
[--connect-timeout]=[value]
[--debug]
[--namespace|-n]=[value]
[--timeout]=[value]
Usage:
ctr [GLOBAL OPTIONS] command [COMMAND OPTIONS] [ARGUMENTS...]
๐ธ GLOBAL OPTIONS
--address,-a="" โ the address for containerd's GRPC server (default:/run/containerd/containerd.sock). this is the little doorway where your client knocks ๐--connect-timeout="" โ timeout for connecting to containerd (default:0s)--debugโ enable debug output in logs. turn this on when you wanna see everything, main character energy--namespace,-n="" โ namespace to use with commands (default:default). your own little bubble โจ--timeout="" โ total timeout forctrcommands (default:0s)
๐ COMMANDS
๐งฉ plugins, plugin
Provides information about containerd plugins
list, ls
Lists containerd plugins
--detailed,-dโ print detailed information about each plugin--quiet,-qโ print only the plugin ids
โญ version
Print the client and server versions
๐ฆ containers, c, container
Manage containers
create
Create container
--allow-new-privsโ turn off OCI spec'sNoNewPrivilegesfeature flag--annotation="" โ specify additional OCI annotations (e.g.foo=bar)--apparmor-default-profile="" โ enable AppArmor with the default profile with the specified name, e.g."cri-containerd.apparmor.d"--apparmor-profile="" โ enable AppArmor with an existing custom profile--blockio-class="" โ name of the blockio class to associate the container with--blockio-config-file="" โ file path to blockio class definitions. By default class definitions are not loaded.--cap-add="" โ add Linux capabilities (set capabilities with'CAP_'prefix)--cap-drop="" โ drop Linux capabilities (set capabilities with'CAP_'prefix)--config,-c="" โ path to the runtime-specific spec config file--cpu-period="" โ limit CPU CFS period (default:0)--cpu-quota="" โ limit CPU CFS quota (default:-1)--cwd="" โ specify the working directory of the process--device="" โ file path to a device to add to the container; or a path to a directory tree of devices to add to the container--env="" โ specify additional container environment variables (e.g.FOO=bar)--env-file="" โ specify additional container environment variables in a file (e.g.FOO=bar, one per line)--gpus="" โ add gpus to the container ๐ฅ--hostname="" โ set the container's host name--label="" โ specify additional labels (e.g.foo=bar)--memory-limit="" โ memory limit (in bytes) for the container (default:0)--mount="" โ specify additional container mount (e.g.type=bind,src=/tmp,dst=/host,options=rbind:ro)--net-hostโ enable host networking for the container--no-pivotโ disable use of pivot-root (linux only)--pid-file="" โ file path to write the task's pid--privilegedโ run privileged container. highkey powerful, be careful ๐ซฃ--rdt-class="" โ name of the RDT class to associate the container with. Specifies a Class of Service (CLOS) for cache and memory bandwidth management.--read-onlyโ set the container's filesystem as readonly--rootfsโ use custom rootfs that is not managed by containerd snapshotter--rootfs-propagation="" โ set the propagation of the container rootfs--runtime="" โ runtime name or absolute path to runtime binary (default:io.containerd.runc.v2)--runtime-config-path="" โ optional runtime config path--sandbox="" โ create the container in the given sandbox--seccompโ enable the default seccomp profile--seccomp-profile="" โ file path to custom seccomp profile.seccompmust be set totrue, before usingseccomp-profile--snapshotter="" โ snapshotter name. Empty value stands for the default value.--snapshotter-label="" โ labels added to the new snapshot for this container.--tty,-tโ allocate a TTY for the container--user,-u="" โ username or user id, group optional (format:[:])--with-ns="" โ specify existing Linux namespaces to join at container runtime (format':')
delete, del, remove, rm
Delete one or more existing containers
--keep-snapshotโ do not clean up snapshot with container
info
Get info about a container
--specโ only display the spec
list, ls
List containers
--quiet,-qโ print only the container id
label
Set and clear labels for a container
checkpoint
Checkpoint a container
--imageโ include the image in the checkpoint--rwโ include the rw layer in the checkpoint--taskโ checkpoint container task
restore
Restore a container from checkpoint
--liveโ restore the runtime and memory data from the checkpoint--rwโ restore the rw layer from the checkpoint
๐๏ธ content
Manage content
active
Display active transfers
--root="" โ path to content store root (default:/tmp/content)--timeout,-t="" โ total timeout for fetch (default:0s)
delete, del, remove, rm
Permanently delete one or more blobs. periodt, they're gone ๐
edit
Edit a blob and return a new digest
--editor="" โ select editor (vim,emacs, etc.)--validate="" โ validate the result against a format (json,mediatype, etc.)
fetch
Fetch all content for an image into containerd
--all-metadataโ pull metadata for all platforms--all-platformsโ pull content from all platforms--hosts-dir="" โ custom hosts configuration directory--http-dumpโ dump all HTTP request/responses when interacting with container registry--http-traceโ enable HTTP tracing for registry interactions--label="" โ labels to attach to the image--metadata-onlyโ pull all metadata including manifests and configs--plain-httpโ allow connections using plain HTTP--platform="" โ pull content from a specific platform--refresh="" โ refresh token for authorization server--skip-verify,-kโ skip SSL certificate validation--tlscacert="" โ path to TLS root CA--tlscert="" โ path to TLS client certificate--tlskey="" โ path to TLS client key--user,-u="" โ user[:password] registry user and password
fetch-object
Retrieve objects from a remote
--hosts-dir="" โ custom hosts configuration directory--http-dumpโ dump all HTTP request/responses when interacting with container registry--http-traceโ enable HTTP tracing for registry interactions--plain-httpโ allow connections using plain HTTP--refresh="" โ refresh token for authorization server--skip-verify,-kโ skip SSL certificate validation--tlscacert="" โ path to TLS root CA--tlscert="" โ path to TLS client certificate--tlskey="" โ path to TLS client key--user,-u="" โ user[:password] registry user and password
fetch-blob
Retrieve blobs from a remote
--hosts-dir="" โ custom hosts configuration directory--http-dumpโ dump all HTTP request/responses when interacting with container registry--http-traceโ enable HTTP tracing for registry interactions--plain-httpโ allow connections using plain HTTP--refresh="" โ refresh token for authorization server--skip-verify,-kโ skip SSL certificate validation--tlscacert="" โ path to TLS root CA--tlscert="" โ path to TLS client certificate--tlskey="" โ path to TLS client key--user,-u="" โ user[:password] registry user and password
get
Get the data for an object
ingest
Accept content into the store
--expected-digest="" โ verify content against expected digest--expected-size="" โ validate against provided size (default:0)
list, ls
List all blobs in the store
--quiet,-qโ print only the blob digest
push-object
Push an object to a remote
--hosts-dir="" โ custom hosts configuration directory--http-dumpโ dump all HTTP request/responses when interacting with container registry--http-traceโ enable HTTP tracing for registry interactions--plain-httpโ allow connections using plain HTTP--refresh="" โ refresh token for authorization server--skip-verify,-kโ skip SSL certificate validation--tlscacert="" โ path to TLS root CA--tlscert="" โ path to TLS client certificate--tlskey="" โ path to TLS client key--user,-u="" โ user[:password] registry user and password
label
Add labels to content
prune
Prunes content from the content store
references
Prunes preference labels from the content store (layers only by default)
--asyncโ allow garbage collection to cleanup asynchronously--dryโ just show updates without applying (enables debug logging)
๐ events, event
Display containerd events โ the drama feed, honestly ๐
and bestie, we are so not done โ there's still more of this page, keep scrolling ๐ฆ
๐ images, image, i ๐
Manage images โ your whole local image stash, basically. Main character energy for your content store, no cap.
๐ง check
Check existing images to ensure all content is available locally. It's a full vibe check for your image refs.
--quiet,-qโ Print only the ready image refs (fully downloaded and unpacked).--snapshotter=""โ Snapshotter name. Empty value stands for the default value.
๐ฆ export
Export images โ pack the vibes up and send them out, bestie.
--all-platformsโ Exports content from all platforms.--localโ Run export locally rather than through transfer API.--platform=""โ Pull content from a specific platform.--skip-manifest-jsonโ Do not add Docker compatiblemanifest.jsonto archive.--skip-non-distributableโ Do not add non-distributable blobs such as Windows layers to archive.
๐ฅ import
Import images โ bring that content in, periodt.
--all-platformsโ Imports content for all platforms, false by default.--base-name=""โ Base image name for added images, when provided only images with this name prefix are imported.--compress-blobsโ Compress uncompressed blobs when creating manifest (Docker format only).--digestsโ Whether to create digest images (default:false).--discard-unpacked-layersโ Allow the garbage collector to clean layers up from the content store after unpacking, cannot be used with--no-unpack, false by default.--index-name=""โ Image name to keep index as, by default index is discarded.--localโ Run import locally rather than through transfer API.--no-unpackโ Skip unpacking the images, cannot be used with--discard-unpacked-layers, false by default.--platform=""โ Imports content for specific platform.--skip-digest-for-namedโ Skip applying--digestsoption to images named in the importing tar (use it in conjunction with--digests).--snapshotter=""โ Snapshotter name. Empty value stands for the default value.
๐ list, ls
List images known to containerd โ the little image directory of your dreams.
--quiet,-qโ Print only the image refs.
๐งท mount
Mount an image to a target path โ attachment era.
--hosts-dir=""โ Custom hosts configuration directory.--http-dumpโ Dump all HTTP request/responses when interacting with container registry.--http-traceโ Enable HTTP tracing for registry interactions.--label=""โ Labels to attach to the image.--plain-httpโ Allow connections using plain HTTP.--platform=""โ Mount the image for the specified platform (default:linux/arm64/v8).--refresh=""โ Refresh token for authorization server.--rwโ Enable write support on the mount.--skip-verify,-kโ Skip SSL certificate validation.--snapshotter=""โ Snapshotter name. Empty value stands for the default value.--tlscacert=""โ Path to TLS root CA.--tlscert=""โ Path to TLS client certificate.--tlskey=""โ Path to TLS client key.--user,-u=""โUser[:password]Registry user and password.
๐ชข unmount
Unmount the image from the target โ release the mount, bestie.
--hosts-dir=""โ Custom hosts configuration directory.--http-dumpโ Dump all HTTP request/responses when interacting with container registry.--http-traceโ Enable HTTP tracing for registry interactions.--label=""โ Labels to attach to the image.--plain-httpโ Allow connections using plain HTTP.--refresh=""โ Refresh token for authorization server.--rmโ Remove the snapshot after a successful unmount.--skip-verify,-kโ Skip SSL certificate validation.--snapshotter=""โ Snapshotter name. Empty value stands for the default value.--tlscacert=""โ Path to TLS root CA.--tlscert=""โ Path to TLS client certificate.--tlskey=""โ Path to TLS client key.--user,-u=""โUser[:password]Registry user and password.
๐ pull
Pull an image from a remote โ fetching the goods from the internet, iconic.
--all-metadataโ Pull metadata for all platforms.--all-platformsโ Pull content and metadata from all platforms.--hosts-dir=""โ Custom hosts configuration directory.--http-dumpโ Dump all HTTP request/responses when interacting with container registry.--http-traceโ Enable HTTP tracing for registry interactions.--label=""โ Labels to attach to the image.--localโ Fetch content from local client rather than using transfer service.--max-concurrent-downloads=""โ Set the max concurrent downloads for each pull (default:0).--plain-httpโ Allow connections using plain HTTP.--platform=""โ Pull content from a specific platform.--print-chainidโ Print the resulting image's chain ID.--refresh=""โ Refresh token for authorization server.--skip-verify,-kโ Skip SSL certificate validation.--snapshotter=""โ Snapshotter name. Empty value stands for the default value.--tlscacert=""โ Path to TLS root CA.--tlscert=""โ Path to TLS client certificate.--tlskey=""โ Path to TLS client key.--user,-u=""โUser[:password]Registry user and password.
๐ซ push
Push an image to a remote โ send it, slay.
--allow-non-distributable-blobsโ Allow pushing blobs that are marked as non-distributable.--hosts-dir=""โ Custom hosts configuration directory.--http-dumpโ Dump all HTTP request/responses when interacting with container registry.--http-traceโ Enable HTTP tracing for registry interactions.--localโ Push content from local client rather than using transfer service.--manifest=""โ Digest of manifest.--manifest-type=""โ Media type of manifest digest (default:application/vnd.oci.image.manifest.v1+json).--max-concurrent-uploaded-layers=""โ Set the max concurrent uploaded layers for each push (default:0).--plain-httpโ Allow connections using plain HTTP.--platform=""โ Push content from a specific platform.--refresh=""โ Refresh token for authorization server.--skip-verify,-kโ Skip SSL certificate validation.--tlscacert=""โ Path to TLS root CA.--tlscert=""โ Path to TLS client certificate.--tlskey=""โ Path to TLS client key.--user,-u=""โUser[:password]Registry user and password.
๐งน prune
Remove unused images โ cleanup time, but read the option carefully, bestie.
--allโ Remove all unused images, not just dangling ones (if all is not specified no images will be pruned).
๐๏ธ delete, del, remove, rm
Remove one or more images by reference โ yeet by ref.
--syncโ Synchronously remove image and all associated resources.
๐ท๏ธ tag
Tag an image โ give it a new little name sticker.
--forceโ Forcetarget_refto be created, regardless if it already exists.--localโ Run tag locally rather than through transfer API.
๐ label
Set and clear labels for an image โ annotate the vibe.
--replace-all,-rโ Replace all labels.
๐ convert
Convert an image โ glow-up, but for media types and layers.
--all-platformsโ Exports content from all platforms.--ociโ Convert Docker media types to OCI media types.--platform=""โ Pull content from a specific platform.--uncompressโ Converttar.gzlayers to uncompressed tar layers.
๐ usage
Display usage of snapshots for a given image ref โ see what's taking up space, iykyk.
--snapshotter=""โ Snapshotter name. Empty value stands for the default value.
๐ซ leases ๐ซ
Manage leases โ the resource-holding little contracts of your containerd era.
๐ list, ls
List all active leases.
--quiet,-qโ Print only the blob digest.
โจ create
Create lease.
--expires,-x=""โ Expiration of lease (0 value will not expire) (default:24h0m0s).--id=""โ Set the id for the lease, will be generated by default.
๐๏ธ delete, del, remove, rm
Delete a lease.
--syncโ Synchronously remove leases and all unreferenced resources.
๐ช namespaces, namespace, ns ๐ช
Manage namespaces โ separate little worlds, fr fr.
โจ create, c
Create a new namespace.
๐ list, ls
List namespaces.
--quiet,-qโ Print only the namespace name.
๐๏ธ remove, rm
Remove one or more namespaces.
--cgroup,-cโ Delete the namespace's cgroup.
๐ label
Set and clear labels for a namespace.
๐ง pprof ๐ง
Provide golang pprof outputs for containerd โ performance detective mode, lowkey iconic.
--debug-socket,-d=""โ Socket path for containerd's debug server (default:/run/containerd/debug.sock).
๐งต block
Goroutine blocking profile.
--debug=""โ Debug pprof args (default:0).
๐งถ goroutines
Dump goroutine stack dump.
--debug=""โ Debug pprof args (default:2).
๐ซง heap
Dump heap profile.
--debug=""โ Debug pprof args (default:0).
๐ฅ profile
CPU profile.
--debug=""โ Debug pprof args (default:0).--seconds,-s=""โ Duration for collection (seconds) (default:30s).
๐ชก threadcreate
Goroutine thread creating profile.
--debug=""โ Debug pprof args (default:0).
๐ฐ๏ธ trace
Collect execution trace.
--debug=""โ Debug pprof args (default:0).--seconds,-s=""โ Trace time (seconds) (default:5s).
run
okay bestie, this is THE command to run a container โ the main character of ctr, no cap. โจ here's every single flag so you can customize your little container baby exactly how you want. ๐
--allow-new-privsโ turn off the OCI spec'sNoNewPrivilegesfeature flag. lowkey spicy but sometimes you need it.--annotation=""โ add extra OCI annotations, likefoo=bar. cute metadata vibes.--apparmor-default-profile=""โ turn on AppArmor with the default profile, using the name you give it, e.g."cri-containerd.apparmor.d".--apparmor-profile=""โ turn on AppArmor with an already-existing custom profile. periodt.--blockio-class=""โ name of the blockio class to associate the container with.--blockio-config-file=""โ file path to blockio class definitions. by default, class definitions are not loaded. (so don't be surprised if it's empty ๐)--cap-add=""โ add Linux capabilities. set capabilities with the'CAP_'prefix, bestie.--cap-drop=""โ drop Linux capabilities. also uses the'CAP_'prefix.--cgroup=""โ cgroup path. to disable use of cgroup, set this to""explicitly. yes, literally empty string. ๐--cniโ enable CNI networking for the container. networking slay.--config,-c=""โ path to the runtime-specific spec config file.--cpu-period=""โ limit CPU CFS period. (default:0)--cpu-quota=""โ limit CPU CFS quota. (default:-1)--cpu-shares=""โ set the cpu shares. (default:1024)--cpus=""โ set the CFS cpu quota. (default:0.000000)--cwd=""โ specify the working directory of the process.--detach,-dโ detach from the task after it has started execution. cannot be used with--rm. (choose your fighter ๐ฅ)--device=""โ file path to a device to add to the container; or a path to a directory tree of devices to add to the container. so many device options, iykyk.--env=""โ specify additional container environment variables, e.g.FOO=bar.--env-file=""โ specify additional container environment variables in a file, e.g.FOO=bar, one per line.--fifo-dir=""โ directory used for storing IO FIFOs.--gidmap=""โ run inside a user namespace with the specified GID mapping range. format iscontainer-gid:host-gid:length. get those mappings right, bestie.--gpus=""โ add gpus to the container. gpu girlies rise up. ๐ฎ--hostname=""โ set the container's host name.--label=""โ specify additional labels, e.g.foo=bar.--log-uri=""โ log uri. that's it. that's the tweet.--memory-limit=""โ memory limit (in bytes) for the container. (default:0)--mount=""โ specify additional container mount, e.g.type=bind,src=/tmp,dst=/host,options=rbind:ro. mounts are iconic.--net-hostโ enable host networking for the container. living on the edge.--no-pivotโ disable use of pivot-root (linux only).--null-ioโ send all IO to/dev/null. bye bye output. ๐--pid-file=""โ file path to write the task's pid.--platform=""โ run image for specific platform.--privilegedโ run privileged container. highkey powerful, use responsibly.--privileged-without-host-devicesโ don't pass all host devices to privileged container. a little less chaotic.--rdt-class=""โ name of the RDT class to associate the container with. specifies a Class of Service (CLOS) for cache and memory bandwidth management. fancy.--read-onlyโ set the container's filesystem as readonly. no writing, only vibes.--remap-labelsโ provide the user namespace ID remapping to the snapshotter via label options; requires snapshotter support. don't forget that part.--rmโ remove the container after running. cannot be used with--detach. again, choose one. ๐--rootfsโ use custom rootfs that is not managed by containerd snapshotter. going rogue.--rootfs-propagation=""โ set the propagation of the container rootfs.--runc-binary=""โ specify runc-compatible binary.--runc-root=""โ specify runc-compatible root.--runc-systemd-cgroupโ start runc with systemd cgroup manager.--runtime=""โ runtime name or absolute path to runtime binary. (default:io.containerd.runc.v2)--runtime-config-path=""โ optional runtime config path.--sandbox=""โ create the container in the given sandbox.--seccompโ enable the default seccomp profile.--seccomp-profile=""โ file path to custom seccomp profile.seccompmust be set totruebefore usingseccomp-profile. important warning, bestie! โ ๏ธ--snapshotter=""โ snapshotter name. empty value stands for the default value.--snapshotter-label=""โ labels added to the new snapshot for this container.--tty,-tโ allocate a TTY for the container. terminal girlies unite.--uidmap=""โ run inside a user namespace with the specified UID mapping range. format iscontainer-uid:host-uid:length.--user,-u=""โ username or user id, group optional. (format:[:]) โ yes, that's literally what the page says. ๐--with-ns=""โ specify existing Linux namespaces to join at container runtime. (format:':')
snapshots, snapshot
manage snapshots, the little frozen moments of your container life. ๐
--snapshotter=""โ snapshotter name. empty value stands for the default value.
commit
commit an active snapshot into the provided name. like saving your progress in a game. โจ
diff
get the diff of two snapshots. the default second snapshot is the first snapshot's parent. so sibling energy? no, parent energy. ๐ญ
--keepโ keep diff content. up to creator to delete it.--label=""โ labels to attach to the image.--media-type=""โ media type to use for creating diff. (default:application/vnd.oci.image.layer.v1.tar+gzip)--ref=""โ content upload reference to use.
info
get info about a snapshot. just the tea. ๐ต
list, ls
list snapshots. the classic.
mounts, m, mount
mount gets mount commands for the snapshots. get those mounts!
prepare
prepare a snapshot from a committed snapshot. glow-up moment.
--mountsโ print out snapshot mounts as JSON.--target,-t=""โ mount target path. will print mount if provided.
delete, del, remove, rm
remove snapshots. bye bestie. ๐
label
add labels to content.
tree
display tree view of snapshot branches. it's giving family tree but for snapshots. ๐ณ
unpack
unpack applies layers from a manifest to a snapshot.
--snapshotter=""โ snapshotter name. empty value stands for the default value.
usage
usage snapshots. how much space are we talking?
-bโ display size in bytes.
view
create a read-only snapshot from a committed snapshot.
--mountsโ print out snapshot mounts as JSON.--target,-t=""โ mount target path. will print mount if provided.
tasks, t, task
manage tasks โ the actual running processes inside your containers. this is where the action happens. ๐ฅ
attach
attach to the IO of a running container. like sliding into their DMs but for input/output. ๐ฌ
checkpoint
checkpoint a container. freeze time, essentially. โธ๏ธ
--exitโ stop the container after the checkpoint.--image-path=""โ path to criu image files.--work-path=""โ path to criu work files and logs.
delete, del, remove, rm
delete one or more tasks. no cap, sometimes you gotta let go. ๐
--exec-id=""โ process ID to kill.--force,-fโ force delete task process. aggressive but effective.
exec
execute additional processes in an existing container. like opening a new tab in your terminal. โจ
--cwd=""โ working directory of the new process.--detach,-dโ detach from the task after it has started execution.--exec-id=""โ exec specific id for the process.--fifo-dir=""โ directory used for storing IO FIFOs.--log-uri=""โ log uri for custom shim logging.--tty,-tโ allocate a TTY for the container.--user=""โ user id or name.
list, ls
list tasks. see who's running the show.
--quiet,-qโ print only the task id. minimalism slay.
kill
signal a container. (default: SIGTERM) โ dramatic exit or gentle nudge, your choice. ๐
--all,-aโ send signal to all processes inside the container.--exec-id=""โ process ID to kill.--signal,-s=""โ signal to send to the container.
metrics, metric
get a single data point of metrics for a task with the built-in Linux runtime. numbers girlies, this one's for you. ๐
--format=""โ"table"or"json". (default:table)
pause
pause an existing container. brb, frozen. ๐ง
ps
list processes for container. who's inside?
resume
resume a paused container. welcome back bestie. ๐ธ
start
start a container that has been created. it's alive! โก
--detach,-dโ detach from the task after it has started execution.--fifo-dir=""โ directory used for storing IO FIFOs.--log-uri=""โ log uri.--no-pivotโ disable use of pivot-root (linux only).--null-ioโ send all IO to/dev/null.--pid-file=""โ file path to write the task's pid.
install
install a new package. like apt install but for containerd things. ๐ฆ
--libs,-lโ install libs from the image.--path=""โ set an optional install path other than the managed opt directory.--replace,-rโ replace any binaries or libs in the opt directory. out with the old, in with the new. ๐
oci
OCI tools. the standards, the specs, the whole vibe. ๐
spec
see the output of the default OCI spec. it's giving default settings.
--platform=""โ platform of the spec to print. (Examples:'linux/arm64','windows/amd64')
sandboxes, sandbox, sb, s
manage sandboxes. because sometimes you need a whole extra layer of isolation, bestie. ๐๏ธ
run, create, c, r
run a new sandbox. fresh start energy. โจ
--runtime=""โ runtime name. (default:io.containerd.runc.v2)
list, ls
list sandboxes. see all your little islands.
--filters=""โ the list of filters to apply when querying sandboxes from the store.
remove, rm
remove sandboxes. goodbye island. ๐
--force,-fโ ignore shutdown errors when removing sandbox.
info
print the server info. the lore. the backstory. ๐
deprecations
list
print warnings for deprecations. the "hey bestie, this is old" alerts. โ ๏ธ
--format=""โ output format to use. (Examples:'default','json')
shim
interact with a shim directly. going straight to the source, no middleman. ๐
--id=""โ container id.
delete
delete a container with a task. yeet. ๐๏ธ
exec
exec a new process in the task's container. more processes, more fun.
--attach,-aโ stay attached to the container and open the fifos.--cwd=""โ current working directory.--env,-e=""โ add environment vars.--spec=""โ runtime spec.--stderr=""โ specify the path to the stderr fifo.--stdin=""โ specify the path to the stdin fifo.--stdout=""โ specify the path to the stdout fifo.--tty,-tโ enable tty support.
start
start a container with a task. let's gooo. ๐
state
get the state of all the processes of the task. the full status report. ๐
and that's a wrap! ๐ this page came from ctr(8) with no version or date shown, so consider this your certified bestie-approved manual. now go slay those containers, periodt. ๐๐
๐ฆ where this page comes from
- opensuse-leap 16.0: containerd-ctr 1.7.33-160000.1.1 ยท Apache-2.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms