【K3s】第37篇 详解 containerd 容器命令

目录

详解 containerd 容器命令


详解 containerd 容器命令

containerd 是一个开源的容器运行时,它为容器生命周期管理提供了接口和工具。containerd旨在成为一个通用的容器守护程序,能够运行任意标准容器、支持多种镜像格式并提供用于管理容器的API。

以下是一些常用的containerd容器命令:

  1. ctr image pull <image-name>:从容器仓库中拉取指定的镜像,并将其保存到本地镜像存储中。

  2. ctr image ls:列出本地镜像存储中的所有镜像列表。

  3. ctr container create <container-name>:创建一个新的容器,指定容器名称。

  4. ctr container start <container-name>:启动指定的容器。

猜你喜欢

转载自blog.csdn.net/fanjufei123456/article/details/131231059
今日推荐