1ctr(8)()                                                              ctr(8)()
2
3
4
5       ctr  is  an unsupported debug and administrative client for interacting
6       with the containerd daemon. Because it is  unsupported,  the  commands,
7       options, and operations are not guaranteed to be backward compatible or
8       stable from release to release of the containerd project.
9
10
11
12
13
14

NAME

16       ctr
17
18
19

SYNOPSIS

21       ctr
22
23       [--address|-a]=[value]
24       [--connect-timeout]=[value]
25       [--debug]
26       [--namespace|-n]=[value]
27       [--timeout]=[value]
28
29
30
31       Usage:
32
33       ctr [GLOBAL OPTIONS] command [COMMAND OPTIONS] [ARGUMENTS...]
34
35
36
37

GLOBAL OPTIONS

39       --address,  -a="":  address  for  containerd's  GRPC  server  (default:
40       /run/containerd/containerd.sock)
41
42
43       --connect-timeout="":  timeout  for  connecting to containerd (default:
44       0s)
45
46
47       --debug: enable debug output in logs
48
49
50       --namespace, -n="": namespace to use with commands (default: default)
51
52
53       --timeout="": total timeout for ctr commands (default: 0s)
54
55
56

COMMANDS

plugins, plugin

59       provides information about containerd plugins
60
61
62   list, ls
63       lists containerd plugins
64
65
66       --detailed, -d: print detailed information about each plugin
67
68
69       --quiet, -q: print only the plugin ids
70
71

version

73       print the client and server versions
74
75

containers, c, container

77       manage containers
78
79
80   create
81       create container
82
83
84       --allow-new-privs: turn off OCI spec's NoNewPrivileges feature flag
85
86
87       --annotation="": specify additional OCI annotations (e.g. foo=bar)
88
89
90       --apparmor-default-profile="": enable AppArmor with the default profile
91       with the specified name, e.g. "cri-containerd.apparmor.d"
92
93
94       --apparmor-profile="": enable AppArmor with an existing custom profile
95
96
97       --cap-add="": add Linux capabilities (Set capabilities with 'CAP_' pre‐
98       fix)
99
100
101       --cap-drop="": drop Linux capabilities (Set  capabilities  with  'CAP_'
102       prefix)
103
104
105       --config, -c="": path to the runtime-specific spec config file
106
107
108       --cpu-period="": Limit CPU CFS period (default: 0)
109
110
111       --cpu-quota="": Limit CPU CFS quota (default: -1)
112
113
114       --cwd="": specify the working directory of the process
115
116
117       --device="":  file  path to a device to add to the container; or a path
118       to a directory tree of devices to add to the container
119
120
121       --env="": specify  additional  container  environment  variables  (e.g.
122       FOO=bar)
123
124
125       --env-file="":  specify additional container environment variables in a
126       file(e.g. FOO=bar, one per line)
127
128
129       --gpus="": add gpus to the container
130
131
132       --label="": specify additional labels (e.g. foo=bar)
133
134
135       --memory-limit="": memory limit (in bytes) for the container  (default:
136       0)
137
138
139       --mount="":     specify     additional     container     mount    (e.g.
140       type=bind,src=/tmp,dst=/host,options=rbind:ro)
141
142
143       --net-host: enable host networking for the container
144
145
146       --no-pivot: disable use of pivot-root (linux only)
147
148
149       --pid-file="": file path to write the task's pid
150
151
152       --privileged: run privileged container
153
154
155       --rdt-class="": name of the RDT class to associate the container  with.
156       Specifies a Class of Service (CLOS) for cache and memory bandwidth man‐
157       agement.
158
159
160       --read-only: set the containers filesystem as readonly
161
162
163       --rootfs: use custom rootfs that is not managed by containerd snapshot‐
164       ter
165
166
167       --rootfs-propagation="": set the propagation of the container rootfs
168
169
170       --runtime="": runtime name (default: io.containerd.runc.v2)
171
172
173       --runtime-config-path="": optional runtime config path
174
175
176       --seccomp: enable the default seccomp profile
177
178
179       --seccomp-profile="": file path to custom seccomp profile. seccomp must
180       be set to true, before using seccomp-profile
181
182
183       --snapshotter="": snapshotter name. Empty value stands for the  default
184       value.
185
186
187       --snapshotter-label="":  labels added to the new snapshot for this con‐
188       tainer.
189
190
191       --tty, -t: allocate a TTY for the container
192
193
194       --with-ns="": specify existing Linux namespaces to  join  at  container
195       runtime (format ':')
196
197
198   delete, del, remove, rm
199       delete one or more existing containers
200
201
202       --keep-snapshot: do not clean up snapshot with container
203
204
205   info
206       get info about a container
207
208
209       --spec: only display the spec
210
211
212   list, ls
213       list containers
214
215
216       --quiet, -q: print only the container id
217
218
219   label
220       set and clear labels for a container
221
222
223   checkpoint
224       checkpoint a container
225
226
227       --image: include the image in the checkpoint
228
229
230       --rw: include the rw layer in the checkpoint
231
232
233       --task: checkpoint container task
234
235
236   restore
237       restore a container from checkpoint
238
239
240       --live: restore the runtime and memory data from the checkpoint
241
242
243       --rw: restore the rw layer from the checkpoint
244
245

content

247       manage content
248
249
250   active
251       display active transfers
252
253
254       --root="": path to content store root (default: /tmp/content)
255
256
257       --timeout, -t="": total timeout for fetch (default: 0s)
258
259
260   delete, del, remove, rm
261       permanently delete one or more blobs
262
263
264   edit
265       edit a blob and return a new digest
266
267
268       --editor="": select editor (vim, emacs, etc.)
269
270
271       --validate="":  validate  the result against a format (json, mediatype,
272       etc.)
273
274
275   fetch
276       fetch all content for an image into containerd
277
278
279       --all-metadata: Pull metadata for all platforms
280
281
282       --all-platforms: pull content from all platforms
283
284
285       --hosts-dir="": Custom hosts configuration directory
286
287
288       --http-dump: dump all HTTP request/responses when interacting with con‐
289       tainer registry
290
291
292       --http-trace: enable HTTP tracing for registry interactions
293
294
295       --label="": labels to attach to the image
296
297
298       --metadata-only: Pull all metadata including manifests and configs
299
300
301       --plain-http: allow connections using plain HTTP
302
303
304       --platform="": Pull content from a specific platform
305
306
307       --refresh="": refresh token for authorization server
308
309
310       --skip-verify, -k: skip SSL certificate validation
311
312
313       --tlscacert="": path to TLS root CA
314
315
316       --tlscert="": path to TLS client certificate
317
318
319       --tlskey="": path to TLS client key
320
321
322       --user, -u="": user[:password] Registry user and password
323
324
325   fetch-object
326       retrieve objects from a remote
327
328
329       --hosts-dir="": Custom hosts configuration directory
330
331
332       --http-dump: dump all HTTP request/responses when interacting with con‐
333       tainer registry
334
335
336       --http-trace: enable HTTP tracing for registry interactions
337
338
339       --plain-http: allow connections using plain HTTP
340
341
342       --refresh="": refresh token for authorization server
343
344
345       --skip-verify, -k: skip SSL certificate validation
346
347
348       --tlscacert="": path to TLS root CA
349
350
351       --tlscert="": path to TLS client certificate
352
353
354       --tlskey="": path to TLS client key
355
356
357       --user, -u="": user[:password] Registry user and password
358
359
360   get
361       get the data for an object
362
363
364   ingest
365       accept content into the store
366
367
368       --expected-digest="": verify content against expected digest
369
370
371       --expected-size="": validate against provided size (default: 0)
372
373
374   list, ls
375       list all blobs in the store
376
377
378       --quiet, -q: print only the blob digest
379
380
381   push-object
382       push an object to a remote
383
384
385       --hosts-dir="": Custom hosts configuration directory
386
387
388       --http-dump: dump all HTTP request/responses when interacting with con‐
389       tainer registry
390
391
392       --http-trace: enable HTTP tracing for registry interactions
393
394
395       --plain-http: allow connections using plain HTTP
396
397
398       --refresh="": refresh token for authorization server
399
400
401       --skip-verify, -k: skip SSL certificate validation
402
403
404       --tlscacert="": path to TLS root CA
405
406
407       --tlscert="": path to TLS client certificate
408
409
410       --tlskey="": path to TLS client key
411
412
413       --user, -u="": user[:password] Registry user and password
414
415
416   label
417       add labels to content
418
419
420   prune
421       prunes content from the content store
422
423
424   references
425       prunes  preference  labels  from  the content store (layers only by de‐
426       fault)
427
428
429       --async: allow garbage collection to cleanup asynchronously
430
431
432       --dry: just show updates without applying (enables debug logging)
433
434

events, event

436       display containerd events
437
438

images, image, i

440       manage images
441
442
443   check
444       check existing images to ensure all content is available locally
445
446
447       --quiet, -q: print only the ready image refs (fully downloaded and  un‐
448       packed)
449
450
451       --snapshotter="":  snapshotter name. Empty value stands for the default
452       value.
453
454
455   export
456       export images
457
458
459       --all-platforms: exports content from all platforms
460
461
462       --platform="": Pull content from a specific platform
463
464
465       --skip-manifest-json: do not add Docker compatible manifest.json to ar‐
466       chive
467
468
469       --skip-non-distributable:  do  not  add non-distributable blobs such as
470       Windows layers to archive
471
472
473   import
474       import images
475
476
477       --all-platforms: imports content for all platforms, false by default
478
479
480       --base-name="": base image name for added images,  when  provided  only
481       images with this name prefix are imported
482
483
484       --compress-blobs:  compress  uncompressed  blobs when creating manifest
485       (Docker format only)
486
487
488       --digests: whether to create digest images (default: false)
489
490
491       --index-name="": image name to keep index as, by default index is  dis‐
492       carded
493
494
495       --no-unpack: skip unpacking the images, false by default
496
497
498       --platform="": imports content for specific platform
499
500
501       --skip-digest-for-named: skip applying --digests option to images named
502       in the importing tar (use it in conjunction with --digests)
503
504
505       --snapshotter="": snapshotter name. Empty value stands for the  default
506       value.
507
508
509   list, ls
510       list images known to containerd
511
512
513       --quiet, -q: print only the image refs
514
515
516   mount
517       mount an image to a target path
518
519
520       --hosts-dir="": Custom hosts configuration directory
521
522
523       --http-dump: dump all HTTP request/responses when interacting with con‐
524       tainer registry
525
526
527       --http-trace: enable HTTP tracing for registry interactions
528
529
530       --label="": labels to attach to the image
531
532
533       --plain-http: allow connections using plain HTTP
534
535
536       --platform="": Mount the image for  the  specified  platform  (default:
537       linux/amd64)
538
539
540       --refresh="": refresh token for authorization server
541
542
543       --rw: Enable write support on the mount
544
545
546       --skip-verify, -k: skip SSL certificate validation
547
548
549       --snapshotter="":  snapshotter name. Empty value stands for the default
550       value.
551
552
553       --tlscacert="": path to TLS root CA
554
555
556       --tlscert="": path to TLS client certificate
557
558
559       --tlskey="": path to TLS client key
560
561
562       --user, -u="": user[:password] Registry user and password
563
564
565   unmount
566       unmount the image from the target
567
568
569       --hosts-dir="": Custom hosts configuration directory
570
571
572       --http-dump: dump all HTTP request/responses when interacting with con‐
573       tainer registry
574
575
576       --http-trace: enable HTTP tracing for registry interactions
577
578
579       --label="": labels to attach to the image
580
581
582       --plain-http: allow connections using plain HTTP
583
584
585       --refresh="": refresh token for authorization server
586
587
588       --rm: remove the snapshot after a successful unmount
589
590
591       --skip-verify, -k: skip SSL certificate validation
592
593
594       --snapshotter="":  snapshotter name. Empty value stands for the default
595       value.
596
597
598       --tlscacert="": path to TLS root CA
599
600
601       --tlscert="": path to TLS client certificate
602
603
604       --tlskey="": path to TLS client key
605
606
607       --user, -u="": user[:password] Registry user and password
608
609
610   pull
611       pull an image from a remote
612
613
614       --all-metadata: Pull metadata for all platforms
615
616
617       --all-platforms: pull content and metadata from all platforms
618
619
620       --hosts-dir="": Custom hosts configuration directory
621
622
623       --http-dump: dump all HTTP request/responses when interacting with con‐
624       tainer registry
625
626
627       --http-trace: enable HTTP tracing for registry interactions
628
629
630       --label="": labels to attach to the image
631
632
633       --max-concurrent-downloads="":  Set  the  max  concurrent downloads for
634       each pull (default: 0)
635
636
637       --plain-http: allow connections using plain HTTP
638
639
640       --platform="": Pull content from a specific platform
641
642
643       --print-chainid: Print the resulting image's chain ID
644
645
646       --refresh="": refresh token for authorization server
647
648
649       --skip-verify, -k: skip SSL certificate validation
650
651
652       --snapshotter="": snapshotter name. Empty value stands for the  default
653       value.
654
655
656       --tlscacert="": path to TLS root CA
657
658
659       --tlscert="": path to TLS client certificate
660
661
662       --tlskey="": path to TLS client key
663
664
665       --user, -u="": user[:password] Registry user and password
666
667
668   push
669       push an image to a remote
670
671
672       --allow-non-distributable-blobs: Allow pushing blobs that are marked as
673       non-distributable
674
675
676       --hosts-dir="": Custom hosts configuration directory
677
678
679       --http-dump: dump all HTTP request/responses when interacting with con‐
680       tainer registry
681
682
683       --http-trace: enable HTTP tracing for registry interactions
684
685
686       --manifest="": digest of manifest
687
688
689       --manifest-type="":  media  type  of manifest digest (default: applica‐
690       tion/vnd.oci.image.manifest.v1+json)
691
692
693       --max-concurrent-uploaded-layers="": Set the  max  concurrent  uploaded
694       layers for each push (default: 0)
695
696
697       --plain-http: allow connections using plain HTTP
698
699
700       --platform="": push content from a specific platform
701
702
703       --refresh="": refresh token for authorization server
704
705
706       --skip-verify, -k: skip SSL certificate validation
707
708
709       --tlscacert="": path to TLS root CA
710
711
712       --tlscert="": path to TLS client certificate
713
714
715       --tlskey="": path to TLS client key
716
717
718       --user, -u="": user[:password] Registry user and password
719
720
721   delete, del, remove, rm
722       remove one or more images by reference
723
724
725       --sync: Synchronously remove image and all associated resources
726
727
728   tag
729       tag an image
730
731
732       --force:  force  target_ref to be created, regardless if it already ex‐
733       ists
734
735
736   label
737       set and clear labels for an image
738
739
740       --replace-all, -r: replace all labels
741
742
743   convert
744       convert an image
745
746
747       --all-platforms: exports content from all platforms
748
749
750       --oci: convert Docker media types to OCI media types
751
752
753       --platform="": Pull content from a specific platform
754
755
756       --uncompress: convert tar.gz layers to uncompressed tar layers
757
758

leases

760       manage leases
761
762
763   list, ls
764       list all active leases
765
766
767       --quiet, -q: print only the blob digest
768
769
770   create
771       create lease
772
773
774       --expires, -x="": expiration of lease (0 value will  not  expire)  (de‐
775       fault: 24h0m0s)
776
777
778       --id="": set the id for the lease, will be generated by default
779
780
781   delete, del, remove, rm
782       delete a lease
783
784
785       --sync: Synchronously remove leases and all unreferenced resources
786
787

namespaces, namespace, ns

789       manage namespaces
790
791
792   create, c
793       create a new namespace
794
795
796   list, ls
797       list namespaces
798
799
800       --quiet, -q: print only the namespace name
801
802
803   remove, rm
804       remove one or more namespaces
805
806
807       --cgroup, -c: delete the namespace's cgroup
808
809
810   label
811       set and clear labels for a namespace
812
813

pprof

815       provide golang pprof outputs for containerd
816
817
818       --debug-socket,  -d="":  socket path for containerd's debug server (de‐
819       fault: /run/containerd/debug.sock)
820
821
822   block
823       goroutine blocking profile
824
825
826   goroutines
827       dump goroutine stack dump
828
829
830   heap
831       dump heap profile
832
833
834   profile
835       CPU profile
836
837
838       --seconds, -s="": duration for collection (seconds) (default: 30s)
839
840
841   threadcreate
842       goroutine thread creating profile
843
844
845   trace
846       collect execution trace
847
848
849       --seconds, -s="": trace time (seconds) (default: 5s)
850
851

run

853       run a container
854
855
856       --allow-new-privs: turn off OCI spec's NoNewPrivileges feature flag
857
858
859       --annotation="": specify additional OCI annotations (e.g. foo=bar)
860
861
862       --apparmor-default-profile="": enable AppArmor with the default profile
863       with the specified name, e.g. "cri-containerd.apparmor.d"
864
865
866       --apparmor-profile="": enable AppArmor with an existing custom profile
867
868
869       --cap-add="": add Linux capabilities (Set capabilities with 'CAP_' pre‐
870       fix)
871
872
873       --cap-drop="": drop Linux capabilities (Set  capabilities  with  'CAP_'
874       prefix)
875
876
877       --cgroup="":  cgroup  path (To disable use of cgroup, set to "" explic‐
878       itly)
879
880
881       --cni: enable cni networking for the container
882
883
884       --config, -c="": path to the runtime-specific spec config file
885
886
887       --cpu-period="": Limit CPU CFS period (default: 0)
888
889
890       --cpu-quota="": Limit CPU CFS quota (default: -1)
891
892
893       --cpu-shares="": set the cpu shares (default: 1024)
894
895
896       --cpus="": set the CFS cpu quota (default: 0.000000)
897
898
899       --cwd="": specify the working directory of the process
900
901
902       --detach, -d: detach from the task after it has started execution, can‐
903       not be used with --rm
904
905
906       --device="":  file  path to a device to add to the container; or a path
907       to a directory tree of devices to add to the container
908
909
910       --env="": specify  additional  container  environment  variables  (e.g.
911       FOO=bar)
912
913
914       --env-file="":  specify additional container environment variables in a
915       file(e.g. FOO=bar, one per line)
916
917
918       --fifo-dir="": directory used for storing IO FIFOs
919
920
921       --gidmap="": run inside a user namespace with the specified GID mapping
922       range; specified with the format container-gid:host-gid:length
923
924
925       --gpus="": add gpus to the container
926
927
928       --label="": specify additional labels (e.g. foo=bar)
929
930
931       --log-uri="": log uri
932
933
934       --memory-limit="":  memory limit (in bytes) for the container (default:
935       0)
936
937
938       --mount="":    specify     additional     container     mount     (e.g.
939       type=bind,src=/tmp,dst=/host,options=rbind:ro)
940
941
942       --net-host: enable host networking for the container
943
944
945       --no-pivot: disable use of pivot-root (linux only)
946
947
948       --null-io: send all IO to /dev/null
949
950
951       --pid-file="": file path to write the task's pid
952
953
954       --platform="": run image for specific platform
955
956
957       --privileged: run privileged container
958
959
960       --rdt-class="":  name of the RDT class to associate the container with.
961       Specifies a Class of Service (CLOS) for cache and memory bandwidth man‐
962       agement.
963
964
965       --read-only: set the containers filesystem as readonly
966
967
968       --remap-labels:  provide  the  user namespace ID remapping to the snap‐
969       shotter via label options; requires snapshotter support
970
971
972       --rm: remove the container after running, cannot be used with --detach
973
974
975       --rootfs: use custom rootfs that is not managed by containerd snapshot‐
976       ter
977
978
979       --rootfs-propagation="": set the propagation of the container rootfs
980
981
982       --runc-binary="": specify runc-compatible binary
983
984
985       --runc-root="": specify runc-compatible root
986
987
988       --runc-systemd-cgroup: start runc with systemd cgroup manager
989
990
991       --runtime="": runtime name (default: io.containerd.runc.v2)
992
993
994       --runtime-config-path="": optional runtime config path
995
996
997       --seccomp: enable the default seccomp profile
998
999
1000       --seccomp-profile="": file path to custom seccomp profile. seccomp must
1001       be set to true, before using seccomp-profile
1002
1003
1004       --snapshotter="": snapshotter name. Empty value stands for the  default
1005       value.
1006
1007
1008       --snapshotter-label="":  labels added to the new snapshot for this con‐
1009       tainer.
1010
1011
1012       --tty, -t: allocate a TTY for the container
1013
1014
1015       --uidmap="": run inside a user namespace with the specified UID mapping
1016       range; specified with the format container-uid:host-uid:length
1017
1018
1019       --with-ns="":  specify  existing  Linux namespaces to join at container
1020       runtime (format ':')
1021
1022

snapshots, snapshot

1024       manage snapshots
1025
1026
1027       --snapshotter="": snapshotter name. Empty value stands for the  default
1028       value.
1029
1030
1031   commit
1032       commit an active snapshot into the provided name
1033
1034
1035   diff
1036       get the diff of two snapshots. the default second snapshot is the first
1037       snapshot's parent.
1038
1039
1040       --keep: keep diff content. up to creator to delete it.
1041
1042
1043       --label="": labels to attach to the image
1044
1045
1046       --media-type="": media type to use for creating diff (default: applica‐
1047       tion/vnd.oci.image.layer.v1.tar+gzip)
1048
1049
1050       --ref="": content upload reference to use
1051
1052
1053   info
1054       get info about a snapshot
1055
1056
1057   list, ls
1058       list snapshots
1059
1060
1061   mounts, m, mount
1062       mount gets mount commands for the snapshots
1063
1064
1065   prepare
1066       prepare a snapshot from a committed snapshot
1067
1068
1069       --mounts: Print out snapshot mounts as JSON
1070
1071
1072       --target, -t="": mount target path, will print mount, if provided
1073
1074
1075   delete, del, remove, rm
1076       remove snapshots
1077
1078
1079   label
1080       add labels to content
1081
1082
1083   tree
1084       display tree view of snapshot branches
1085
1086
1087   unpack
1088       unpack applies layers from a manifest to a snapshot
1089
1090
1091       --snapshotter="":  snapshotter name. Empty value stands for the default
1092       value.
1093
1094
1095   usage
1096       usage snapshots
1097
1098
1099       -b: display size in bytes
1100
1101
1102   view
1103       create a read-only snapshot from a committed snapshot
1104
1105
1106       --mounts: Print out snapshot mounts as JSON
1107
1108
1109       --target, -t="": mount target path, will print mount, if provided
1110
1111

tasks, t, task

1113       manage tasks
1114
1115
1116   attach
1117       attach to the IO of a running container
1118
1119
1120   checkpoint
1121       checkpoint a container
1122
1123
1124       --exit: stop the container after the checkpoint
1125
1126
1127       --image-path="": path to criu image files
1128
1129
1130       --work-path="": path to criu work files and logs
1131
1132
1133   delete, del, remove, rm
1134       delete one or more tasks
1135
1136
1137       --exec-id="": process ID to kill
1138
1139
1140       --force, -f: force delete task process
1141
1142
1143   exec
1144       execute additional processes in an existing container
1145
1146
1147       --cwd="": working directory of the new process
1148
1149
1150       --detach, -d: detach from the task after it has started execution
1151
1152
1153       --exec-id="": exec specific id for the process
1154
1155
1156       --fifo-dir="": directory used for storing IO FIFOs
1157
1158
1159       --log-uri="": log uri for custom shim logging
1160
1161
1162       --tty, -t: allocate a TTY for the container
1163
1164
1165       --user="": user id or name
1166
1167
1168   list, ls
1169       list tasks
1170
1171
1172       --quiet, -q: print only the task id
1173
1174
1175   kill
1176       signal a container (default: SIGTERM)
1177
1178
1179       --all, -a: send signal to all processes inside the container
1180
1181
1182       --exec-id="": process ID to kill
1183
1184
1185       --signal, -s="": signal to send to the container
1186
1187
1188   pause
1189       pause an existing container
1190
1191
1192   ps
1193       list processes for container
1194
1195
1196   resume
1197       resume a paused container
1198
1199
1200   start
1201       start a container that has been created
1202
1203
1204       --detach, -d: detach from the task after it has started execution
1205
1206
1207       --fifo-dir="": directory used for storing IO FIFOs
1208
1209
1210       --log-uri="": log uri
1211
1212
1213       --null-io: send all IO to /dev/null
1214
1215
1216       --pid-file="": file path to write the task's pid
1217
1218
1219   metrics, metric
1220       get a single data point of metrics for a task with the  built-in  Linux
1221       runtime
1222
1223
1224       --format="": "table" or "json" (default: table)
1225
1226

install

1228       install a new package
1229
1230
1231       --libs, -l: install libs from the image
1232
1233
1234       --path="":  set an optional install path other than the managed opt di‐
1235       rectory
1236
1237
1238       --replace, -r: replace any binaries or libs in the opt directory
1239
1240

oci

1242       OCI tools
1243
1244
1245   spec
1246       see the output of the default OCI spec
1247
1248

shim

1250       interact with a shim directly
1251
1252
1253       --id="": container id
1254
1255
1256   delete
1257       delete a container with a task
1258
1259
1260   exec
1261       exec a new process in the task's container
1262
1263
1264       --attach, -a: stay attached to the container and open the fifos
1265
1266
1267       --cwd="": current working directory
1268
1269
1270       --env, -e="": add environment vars
1271
1272
1273       --spec="": runtime spec
1274
1275
1276       --stderr="": specify the path to the stderr fifo
1277
1278
1279       --stdin="": specify the path to the stdin fifo
1280
1281
1282       --stdout="": specify the path to the stdout fifo
1283
1284
1285       --tty, -t: enable tty support
1286
1287
1288   start
1289       start a container with a task
1290
1291
1292   state
1293       get the state of all the processes of the task
1294
1295
1296
1297                                                                      ctr(8)()
Impressum