大网数据广告活动
服务器运维问答

How do I enable containerd?

· 52CE 我爱测

When I run systemctl status containerd , I get the following output: ● containerd.service - containerd container runtime Loaded: loaded (/usr/lib/systemd/system/containerd.service; disabled; vendor preset: disabled) Active: activ…

问题原文

原帖链接 · merlin2011 · CC BY-SA 4.0

When I run systemctl status containerd, I get the following output:

● containerd.service - containerd container runtime
   Loaded: loaded (/usr/lib/systemd/system/containerd.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2022-08-31 19:22:36 UTC; 6 months 27 days ago
     Docs: https://containerd.io
 Main PID: 3881 (containerd)
    Tasks: 165
   Memory: 87.5M
   CGroup: /system.slice/containerd.service

How can I change the status to enabled and what are the possible consequences of doing so?

Other facts:

  • This is running Amazon Linux 2 on an EKS worker node.
  • The containerd version is containerd github.com/containerd/containerd 1.6.6 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1.
  • The kubelet version is Kubernetes v1.22.12-eks-ba74326.

已采纳解答

原帖链接 · Saxtheowl · CC BY-SA 4.0

You can do sudo systemctl enable containerd.service

it will create the necessary symlinks for the containerd.service to be started during the boot process.

And to verify systemctl is-enabled containerd.service

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2023-03-29)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。