首页 > 其他分享 >Nerdctl安装

Nerdctl安装

时间:2022-10-19 19:23:01浏览次数:71  
标签:tar 安装 nerdctl containerd docker Nerdctl Supports

官网地址

https://github.com/containerd/nerdctl

nerdctl: Docker-compatible CLI for containerd 就是docker兼容的命令行工具

优势

nerdctl 和 docker命令行语法很相似,学习比较容易

  • Same UI/UX as docker
  • Supports Docker Compose (nerdctl compose up)
  • Supports rootless mode, without slirp overhead (bypass4netns)
  • Supports lazy-pulling (Stargz, Nydus, OverlayBD)
  • Supports encrypted images (ocicrypt)
  • Supports P2P image distribution (IPFS)
  • Supports container image signing and verifying (cosign)

一、安装

  1. 最小安装:nerdctl only
#这里只进行最小安装
下载安装包
tar Cxzvvf /usr/local/bin nerdctl-0.23.0-linux-amd64.tar.gz

image

  1. 最大安装:Includes dependencies such as containerd, runc, and CNI

二、使用,直接而参考官方文档

https://github.com/containerd/nerdctl#command-reference
image

三、试试效果

image

还是原来熟悉的配方!!!!!

标签:tar,安装,nerdctl,containerd,docker,Nerdctl,Supports
From: https://www.cnblogs.com/bangbangzoutianya/p/16807438.html

相关文章