Difference between revisions of "Containerd"

From wikieduonline
Jump to navigation Jump to search
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{lc}}
 
<code>containerd</code> is a [[container runtime]] (https://containerd.io/), in  February 2019 <code>[[containerd]]</code> becames official [[CNCF]] project
 
<code>containerd</code> is a [[container runtime]] (https://containerd.io/), in  February 2019 <code>[[containerd]]</code> becames official [[CNCF]] project
 +
* https://github.com/containerd/containerd
 +
* [[Containerd versions]]
  
* Image push and pull
+
* Image [[push]] and [[pull]]
 
* Managing of storage
 
* Managing of storage
 
* Executing of Containers by calling <code>[[runc]]</code> with the right parameters to run containers...
 
* Executing of Containers by calling <code>[[runc]]</code> with the right parameters to run containers...
Line 9: Line 12:
  
  
 +
* <code>[[apt install containerd]]</code>
 
* <code>[[systemctl status containerd]]</code>
 
* <code>[[systemctl status containerd]]</code>
* <code>[[systemctl]] stop containerd</code>
+
* <code>[[systemctl stop containerd]]</code>
  
 
  [[/etc/containerd/config.toml]]
 
  [[/etc/containerd/config.toml]]
 
  /var/run/docker/containerd/[[containerd.toml]]
 
  /var/run/docker/containerd/[[containerd.toml]]
  
  containerd --config  /etc/containerd/config.toml
+
  [[containerd --config]] /etc/containerd/config.toml
 
  containerd --config  /var/run/docker/containerd/containerd.toml
 
  containerd --config  /var/run/docker/containerd/containerd.toml
 
  containerd --config /var/run/docker/containerd/containerd.toml --[[log-level]] info
 
  containerd --config /var/run/docker/containerd/containerd.toml --[[log-level]] info
Line 31: Line 35:
 
  failed to start containerd: timeout waiting for containerd to start
 
  failed to start containerd: timeout waiting for containerd to start
  
 +
 +
containerd .../... error="[[failed to stop container]]: [[context deadline exceeded]]: unknown"
 +
 +
== Logs ==
 +
[[level=warning]]
 +
[[level=info]]
 +
 +
Sep 21 08:10:35 hostname containerd[1508]: time="2023-09-21T08:10:35.572443025Z" level=warning msg="[[runtime v1 is deprecated since containerd v1.4, consider using runtime v2]]"
  
 
== Activities ==
 
== Activities ==
Line 39: Line 51:
 
* <code>[[docker.log]]</code>
 
* <code>[[docker.log]]</code>
 
* [[Kubernetes]]
 
* [[Kubernetes]]
 +
* <code>[[crictl]]</code>
 +
* <code>[[cri-o]]</code>
 +
* <code>[[/var/log/messages]]</code>
 +
* <code>containerd Task XXXXXXXX deleted with exit code [[137]]</code>
 +
* [[Kubelet logs]]
 +
* [[SOCI Snapshotter]]
 +
* <code>[[dockerd]]</code>
 +
* [[dockershim]] (deprecated)
  
 
== See also ==
 
== See also ==

Latest revision as of 13:22, 3 November 2023

containerd is a container runtime (https://containerd.io/), in February 2019 containerd becames official CNCF project

  • Image push and pull
  • Managing of storage
  • Executing of Containers by calling runc with the right parameters to run containers...
  • Managing of network primitives for interfaces
  • Management of network namespaces containers to join existing namespaces

http://alexander.holbreich.org/docker-components-explained/


/etc/containerd/config.toml
/var/run/docker/containerd/containerd.toml
containerd --config  /etc/containerd/config.toml
containerd --config  /var/run/docker/containerd/containerd.toml
containerd --config /var/run/docker/containerd/containerd.toml --log-level info


cotainerd 
.../....
INFO[2020-01-27T14:34:22.574737560Z] containerd successfully booted in 0.041567s


docker.log

failed to start containerd: timeout waiting for containerd to start


containerd .../... error="failed to stop container: context deadline exceeded: unknown"

Logs[edit]

level=warning
level=info
Sep 21 08:10:35 hostname containerd[1508]: time="2023-09-21T08:10:35.572443025Z" level=warning msg="runtime v1 is deprecated since containerd v1.4, consider using runtime v2"

Activities[edit]

Related[edit]

See also[edit]

Advertising: