Skip to content

can nerdctl info print the cgroup driver like docker ?  #60

@oldthreefeng

Description

@oldthreefeng

for docker

[root@k8s-dev tmp]# docker info -f {{.CgroupDriver}}
cgroupfs

for containerd

[root@k8s-dev tmp]# ./nerdctl  info
Client:
 Namespace:	default
 Debug Mode:	false

Server:
 Server Version: v1.3.9
 Storage Driver: overlayfs
 Cgroup Version: 1
 Plugins:
  Storage: native overlayfs
 Security Options:
  seccomp
   Profile: default
 ID: ed68ee7f-4ec0-4199-b3da-ed3305f21414
[root@k8s-dev tmp]# vim /etc/containerd/config.toml 
[root@k8s-dev tmp]# ./nerdctl version
Client:
 Version:	v0.4.0
 Git commit:	21b64b3c5079002334ab3df678e578259c414b26

Server:
 containerd:
  Version:	v1.3.9
  Revision:	ea765aba0d05254012b0b9e595e995c09186427f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions