Difference between revisions of "Containerd"

From wikieduonline
Jump to navigation Jump to search
 
(40 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{lc}}
 +
<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]]
 +
* Managing of storage
 +
* Executing of Containers by calling <code>[[runc]]</code> 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/
 +
 +
 +
* <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
  
  
Line 17: Line 30:
 
</pre>
 
</pre>
  
 +
 +
 +
[[docker.log]]
 
  failed to start containerd: timeout waiting for containerd to start
 
  failed to start containerd: timeout waiting for containerd to start
  
  
== Related commands ==
+
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]]"
 +
 
 +
== Errors ==
 +
* <code>[[failed to create containerd task: failed to start shim]]</code>
 +
 
 +
== Activities ==
 +
* Read about https://www.docker.com/blog/docker-engine-1-11-runc/
 +
 
 +
== Related ==
 
* <code>[[journalctl -u containerd]]</code>
 
* <code>[[journalctl -u containerd]]</code>
 
+
* <code>[[docker.log]]</code>
 +
* [[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 ==
 +
* {{runc}}
 +
* {{containerd}}
 
* {{dockerd}}
 
* {{dockerd}}
 
* {{containers}}
 
* {{containers}}

Latest revision as of 20:33, 21 October 2024

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"

Errors[edit]

Activities[edit]

Related[edit]

See also[edit]

Advertising: