安装

apt install curl vim git netcat nmap wget jq tree build-essential

# apparmor: enabled, but apparmor_parser missing
# apt install apparmor
# 
df -Th
mount
lsblk -f
blkid 
sudo file -sL /dev/sda
cat /etc/fstab
####
####
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
#####
cat /etc/debian_version
10.0
####
hostnamectl
   Static hostname: debian
         Icon name: computer-vm
           Chassis: vm
        Machine ID: fbfadb09412f4203921669ac87f101c8
           Boot ID: a52c3aca80db4084be6f5e3c0e716424
    Virtualization: oracle
  Operating System: Debian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.0-5-amd64
      Architecture: x86-64


###
systemctl --all --full |grep -E "Network|network"
cat /etc/mtab
cat /etc/fstab
cat /etc/timezone
cat /etc/resolv.conf
cat /etc/os-release
########
uname -srmo
Linux 4.19.0-5-amd64 x86_64 GNU/Linux

安装docker

## 下载docker
wget https://download.docker.com/linux/static/stable/x86_64/docker-19.03.1.tgz
tar -xvf docker-18.09.2.tgz
cd docker
cp * /usr/bin



daemon.json
# https://docs.docker.com/engine/reference/commandline/dockerd//#daemon-configuration-file
{
        "metrics-addr": "0.0.0.0:1337",
        "experimental": true,
        "insecure-registries": [],
        "live-restore": true,
        "registry-mirrors": ["https://hub-mirror.c.163.com", "https://docker.mirrors.ustc.edu.cn"],
        "max-concurrent-downloads": 20,
        "storage-driver": "overlay2"
}
####
groupadd docker
usermod -aG docker your-user
####
/usr/libexec/docker-init
/usr/libexec/docker-proxy
/usr/lib/systemd/system/docker.service
/usr/lib/systemd/system/docker.socket
/usr/lib/systemd/system/containerd.service
sudo mkdir -p /etc/systemd/system/docker.service.d
sudo mkdir -p /etc/docker/
sudo mkdir -p /etc/cni/net.d
sudo mkdir -p /opt/cni/bin
sudo mkdir -p /var/lib/docker/
sudo mkdir -p /var/lib/containerd/
sudo mkdir -p /etc/containerd/
/etc/containerd/config.toml
https://github.com/containerd/containerd/blob/master/docs/man/containerd-config.toml.5.md

journalctl -u docker
# https://github.com/moby/moby/tree/master/contrib/init/systemd
https://raw.githubusercontent.com/moby/moby/master/contrib/init/systemd/docker.service
https://raw.githubusercontent.com/moby/moby/master/contrib/init/systemd/docker.socket

# https://github.com/docker/docker-ce/tree/master/components/packaging/systemd
https://raw.githubusercontent.com/docker/docker-ce/master/components/packaging/systemd/docker.service
https://raw.githubusercontent.com/docker/docker-ce/master/components/packaging/systemd/docker.socket
# https://github.com/containerd/containerd/blob/master/containerd.service
https://raw.githubusercontent.com/containerd/containerd/master/containerd.service

## 启动containerd
ss -tunlp |grep containerd

INFO[2019-08-18T09:20:19.936149524-04:00] starting containerd                           revision=9754871865f7fe2f4e74d43e2fc7ccd237edcbce version=v1.2.2
INFO[2019-08-18T09:20:19.937094821-04:00] loading plugin "io.containerd.content.v1.content"...  type=io.containerd.content.v1
INFO[2019-08-18T09:20:19.937181634-04:00] loading plugin "io.containerd.snapshotter.v1.btrfs"...  type=io.containerd.snapshotter.v1
WARN[2019-08-18T09:20:19.937373535-04:00] failed to load plugin io.containerd.snapshotter.v1.btrfs  error="path /var/lib/containerd/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
INFO[2019-08-18T09:20:19.937387648-04:00] loading plugin "io.containerd.snapshotter.v1.aufs"...  type=io.containerd.snapshotter.v1
WARN[2019-08-18T09:20:19.937442016-04:00] failed to load plugin io.containerd.snapshotter.v1.aufs  error="modprobe aufs failed: "": exec: "modprobe": executable file not found in $PATH"
INFO[2019-08-18T09:20:19.937453872-04:00] loading plugin "io.containerd.snapshotter.v1.native"...  type=io.containerd.snapshotter.v1
INFO[2019-08-18T09:20:19.937497682-04:00] loading plugin "io.containerd.snapshotter.v1.overlayfs"...  type=io.containerd.snapshotter.v1
INFO[2019-08-18T09:20:19.937604374-04:00] loading plugin "io.containerd.snapshotter.v1.zfs"...  type=io.containerd.snapshotter.v1
WARN[2019-08-18T09:20:19.937734508-04:00] failed to load plugin io.containerd.snapshotter.v1.zfs  error="path /var/lib/containerd/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter"
INFO[2019-08-18T09:20:19.937743906-04:00] loading plugin "io.containerd.metadata.v1.bolt"...  type=io.containerd.metadata.v1
WARN[2019-08-18T09:20:19.937811476-04:00] could not use snapshotter btrfs in metadata plugin  error="path /var/lib/containerd/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
WARN[2019-08-18T09:20:19.937819287-04:00] could not use snapshotter aufs in metadata plugin  error="modprobe aufs failed: "": exec: "modprobe": executable file not found in $PATH"
WARN[2019-08-18T09:20:19.937826295-04:00] could not use snapshotter zfs in metadata plugin  error="path /var/lib/containerd/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter"
INFO[2019-08-18T09:20:19.944704299-04:00] loading plugin "io.containerd.differ.v1.walking"...  type=io.containerd.differ.v1
INFO[2019-08-18T09:20:19.945220656-04:00] loading plugin "io.containerd.gc.v1.scheduler"...  type=io.containerd.gc.v1
INFO[2019-08-18T09:20:19.945911273-04:00] loading plugin "io.containerd.service.v1.containers-service"...  type=io.containerd.service.v1
INFO[2019-08-18T09:20:19.946452845-04:00] loading plugin "io.containerd.service.v1.content-service"...  type=io.containerd.service.v1
INFO[2019-08-18T09:20:19.946941943-04:00] loading plugin "io.containerd.service.v1.diff-service"...  type=io.containerd.service.v1
INFO[2019-08-18T09:20:19.947419645-04:00] loading plugin "io.containerd.service.v1.images-service"...  type=io.containerd.service.v1
INFO[2019-08-18T09:20:19.948119806-04:00] loading plugin "io.containerd.service.v1.leases-service"...  type=io.containerd.service.v1
INFO[2019-08-18T09:20:19.948499273-04:00] loading plugin "io.containerd.service.v1.namespaces-service"...  type=io.containerd.service.v1
INFO[2019-08-18T09:20:19.949238202-04:00] loading plugin "io.containerd.service.v1.snapshots-service"...  type=io.containerd.service.v1
INFO[2019-08-18T09:20:19.949660090-04:00] loading plugin "io.containerd.runtime.v1.linux"...  type=io.containerd.runtime.v1
INFO[2019-08-18T09:20:19.951211946-04:00] loading plugin "io.containerd.runtime.v2.task"...  type=io.containerd.runtime.v2
INFO[2019-08-18T09:20:19.951985592-04:00] loading plugin "io.containerd.monitor.v1.cgroups"...  type=io.containerd.monitor.v1
INFO[2019-08-18T09:20:19.952895797-04:00] loading plugin "io.containerd.service.v1.tasks-service"...  type=io.containerd.service.v1
INFO[2019-08-18T09:20:19.953417166-04:00] loading plugin "io.containerd.internal.v1.restart"...  type=io.containerd.internal.v1
INFO[2019-08-18T09:20:19.954595361-04:00] loading plugin "io.containerd.grpc.v1.containers"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.955420079-04:00] loading plugin "io.containerd.grpc.v1.content"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.956213035-04:00] loading plugin "io.containerd.grpc.v1.diff"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.956767328-04:00] loading plugin "io.containerd.grpc.v1.events"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.957219966-04:00] loading plugin "io.containerd.grpc.v1.healthcheck"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.957734477-04:00] loading plugin "io.containerd.grpc.v1.images"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.958282832-04:00] loading plugin "io.containerd.grpc.v1.leases"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.958837267-04:00] loading plugin "io.containerd.grpc.v1.namespaces"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.959363614-04:00] loading plugin "io.containerd.internal.v1.opt"...  type=io.containerd.internal.v1
INFO[2019-08-18T09:20:19.960235201-04:00] loading plugin "io.containerd.grpc.v1.snapshots"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.960710404-04:00] loading plugin "io.containerd.grpc.v1.tasks"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.960963382-04:00] loading plugin "io.containerd.grpc.v1.version"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.960988906-04:00] loading plugin "io.containerd.grpc.v1.cri"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.961043538-04:00] Start cri plugin with config {PluginConfig:{ContainerdConfig:{Snapshotter:overlayfs DefaultRuntime:{Type:io.containerd.runtime.v1.linux Engine: Root: Options:<nil>} UntrustedWorkloadRuntime:{Type: Engine: Root: Options:<nil>} Runtimes:map[] NoPivot:false} CniConfig:{NetworkPluginBinDir:/opt/cni/bin NetworkPluginConfDir:/etc/cni/net.d NetworkPluginConfTemplate:} Registry:{Mirrors:map[docker.io:{Endpoints:[https://registry-1.docker.io]}] Auths:map[]} StreamServerAddress:127.0.0.1 StreamServerPort:0 EnableSelinux:false SandboxImage:k8s.gcr.io/pause:3.1 StatsCollectPeriod:10 SystemdCgroup:false EnableTLSStreaming:false X509KeyPairStreaming:{TLSCertFile: TLSKeyFile:} MaxContainerLogLineSize:16384} ContainerdRootDir:/var/lib/containerd ContainerdEndpoint:/run/containerd/containerd.sock RootDir:/var/lib/containerd/io.containerd.grpc.v1.cri StateDir:/run/containerd/io.containerd.grpc.v1.cri}
INFO[2019-08-18T09:20:19.961263488-04:00] Connect containerd service
INFO[2019-08-18T09:20:19.961293815-04:00] Get image filesystem path "/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs"
ERRO[2019-08-18T09:20:19.961404467-04:00] Failed to load cni during init, please check CRI plugin status before setting up network for pods  error="cni config load failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config"
INFO[2019-08-18T09:20:19.961763289-04:00] loading plugin "io.containerd.grpc.v1.introspection"...  type=io.containerd.grpc.v1
INFO[2019-08-18T09:20:19.962315386-04:00] serving...                                    address="/run/containerd/containerd.sock"
INFO[2019-08-18T09:20:19.962520365-04:00] containerd successfully booted in 0.026621s
INFO[2019-08-18T09:20:19.962159481-04:00] Start subscribing containerd event
INFO[2019-08-18T09:20:19.969978460-04:00] Start recovering state
INFO[2019-08-18T09:20:19.970533766-04:00] Start event monitor
INFO[2019-08-18T09:20:19.970928547-04:00] Start snapshots syncer
INFO[2019-08-18T09:20:19.971323726-04:00] Start streaming server
Aug 18 21:31:06 debian systemd[1]: Reached target Network is Online.
Aug 18 21:31:06 debian systemd[1]: Starting Docker Socket for the API.
Aug 18 21:31:06 debian systemd[1]: Starting containerd container runtime...
Aug 18 21:31:06 debian systemd[1]: Listening on Docker Socket for the API.
Aug 18 21:31:06 debian systemd[1]: Started containerd container runtime.
Aug 18 21:31:06 debian systemd[1]: Starting Docker Application Container Engine...
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.905832621-04:00" level=info msg="starting containerd" revision=9754871865f7fe2f4e74d43e2fc7ccd237edcbce version=v1.2.2
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.906810807-04:00" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.906994155-04:00" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.907385425-04:00" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.btrfs" error="path /var/lib/containerd/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.907584585-04:00" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.910179233-04:00" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.aufs" error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules/4.19.0-5-amd64\n": exit status 1"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.910419262-04:00" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.910713733-04:00" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.911086026-04:00" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.911441496-04:00" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.zfs" error="path /var/lib/containerd/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.911613700-04:00" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.911771334-04:00" level=warning msg="could not use snapshotter btrfs in metadata plugin" error="path /var/lib/containerd/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.911918094-04:00" level=warning msg="could not use snapshotter aufs in metadata plugin" error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules/4.19.0-5-amd64\n": exit status 1"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.912064250-04:00" level=warning msg="could not use snapshotter zfs in metadata plugin" error="path /var/lib/containerd/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.912302931-04:00" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.912464455-04:00" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.912796862-04:00" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.913036645-04:00" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.913248989-04:00" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.913466497-04:00" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.913677159-04:00" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.913883482-04:00" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.914856793-04:00" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.914899136-04:00" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.917313690-04:00" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.917655548-04:00" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.917990470-04:00" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918011945-04:00" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918049228-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918062556-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918072817-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918082538-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918091244-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918100746-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918112414-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918125661-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918135443-04:00" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918190511-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918210740-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.918226701-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.920113165-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.cri"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.920173353-04:00" level=info msg="Start cri plugin with config {PluginConfig:{ContainerdConfig:{Snapshotter:overlayfs DefaultRuntime:{Type:io.containerd.runtime.v1.linux Engine: Root: Options:<nil>} UntrustedWorkloadRuntime:{Type: Engine: Root: Options:<nil>} Runtimes:map[] NoPivot:false} CniConfig:{NetworkPluginBinDir:/opt/cni/bin NetworkPluginConfDir:/etc/cni/net.d NetworkPluginConfTemplate:} Registry:{Mirrors:map[docker.io:{Endpoints:[https://registry-1.docker.io]}] Auths:map[]} StreamServerAddress:127.0.0.1 StreamServerPort:0 EnableSelinux:false SandboxImage:k8s.gcr.io/pause:3.1 StatsCollectPeriod:10 SystemdCgroup:false EnableTLSStreaming:false X509KeyPairStreaming:{TLSCertFile: TLSKeyFile:} MaxContainerLogLineSize:16384} ContainerdRootDir:/var/lib/containerd ContainerdEndpoint:/run/containerd/containerd.sock RootDir:/var/lib/containerd/io.containerd.grpc.v1.cri StateDir:/run/containerd/io.containerd.grpc.v1.cri}"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.920197151-04:00" level=info msg="Connect containerd service"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.920216635-04:00" level=info msg="Get image filesystem path "/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs""
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.920551749-04:00" level=error msg="Failed to load cni during init, please check CRI plugin status before setting up network for pods" error="cni config load failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.925749115-04:00" level=info msg="Start subscribing containerd event"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.925801598-04:00" level=info msg="Start recovering state"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.925890566-04:00" level=info msg="Start event monitor"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.925913646-04:00" level=info msg="Start snapshots syncer"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.925923663-04:00" level=info msg="Start streaming server"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.928988909-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.929366567-04:00" level=info msg=serving... address="/run/containerd/containerd.sock"
Aug 18 21:31:06 debian containerd[8598]: time="2019-08-18T21:31:06.929387793-04:00" level=info msg="containerd successfully booted in 0.023780s"
Aug 18 21:31:06 debian dockerd[8599]: time="2019-08-18T21:31:06-04:00" level=warning msg="Running experimental build"
Aug 18 21:31:06 debian dockerd[8599]: time="2019-08-18T21:31:06.996082873-04:00" level=info msg="parsed scheme: \"unix\"" module=grpc
Aug 18 21:31:06 debian dockerd[8599]: time="2019-08-18T21:31:06.996320738-04:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Aug 18 21:31:06 debian dockerd[8599]: time="2019-08-18T21:31:06.996997012-04:00" level=info msg="parsed scheme: \"unix\"" module=grpc
Aug 18 21:31:06 debian dockerd[8599]: time="2019-08-18T21:31:06.997576340-04:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:06.998173514-04:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0  <nil>}]" module=grpc
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.001185327-04:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.001478625-04:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4209b6ac0, CONNECTING" module=grpc
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.002421274-04:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4209b6ac0, READY" module=grpc
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.002749255-04:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0  <nil>}]" module=grpc
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.003179278-04:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.003447455-04:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4209b6da0, CONNECTING" module=grpc
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.004428296-04:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4209b6da0, READY" module=grpc
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.030812554-04:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.031232978-04:00" level=warning msg="Your kernel does not support swap memory limit"
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.031404984-04:00" level=warning msg="Your kernel does not support cgroup rt period"
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.031535064-04:00" level=warning msg="Your kernel does not support cgroup rt runtime"
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.031985975-04:00" level=info msg="Loading containers: start."
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.208234534-04:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Aug 18 21:31:07 debian systemd-udevd[8597]: Using default interface naming scheme 'v240'.
Aug 18 21:31:07 debian systemd-udevd[8597]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 18 21:31:07 debian systemd-udevd[8597]: Could not generate persistent MAC address for docker0: No such file or directory
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.276580850-04:00" level=info msg="Loading containers: done."
Aug 18 21:31:07 debian systemd[443]: var-lib-docker-overlay2-opaque\x2dbug\x2dcheck839556114-merged.mount: Succeeded.
Aug 18 21:31:07 debian systemd[1]: var-lib-docker-overlay2-opaque\x2dbug\x2dcheck839556114-merged.mount: Succeeded.
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.294666856-04:00" level=info msg="Docker daemon" commit=6247962 graphdriver(s)=overlay2 version=18.09.2
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.295714224-04:00" level=info msg="Daemon has completed initialization"
Aug 18 21:31:07 debian systemd[1]: Started Docker Application Container Engine.
Aug 18 21:31:07 debian dockerd[8599]: time="2019-08-18T21:31:07.326659876-04:00" level=info msg="API listen on /var/run/docker.sock"
docker info
#####
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 18.09.2
Storage Driver: overlay2
 Backing Filesystem: xfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9754871865f7fe2f4e74d43e2fc7ccd237edcbce
runc version: 09c8266bf2fcf9519a651b04ae54c967b9ab86ec
init version: fec3683
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.19.0-5-amd64
Operating System: Debian GNU/Linux 10 (buster)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 987.6MiB
Name: debian
ID: Z7SG:HOT2:IZFC:EJZ4:A7QS:4FKB:H62V:4A3Z:I7N2:SMFC:KJTJ:NNS2
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
 127.0.0.0/8
Registry Mirrors:
 https://hub-mirror.c.163.com/
 https://docker.mirrors.ustc.edu.cn/
Live Restore Enabled: true
Product License: Community Engine

WARNING: No swap limit support

Aug 18 21:42:10 debian systemd[1]: Starting containerd container runtime...
Aug 18 21:42:10 debian systemd[1]: Starting Docker Socket for the API.
Aug 18 21:42:10 debian systemd[1]: Listening on Docker Socket for the API.
Aug 18 21:42:10 debian systemd[1]: Started containerd container runtime.
Aug 18 21:42:10 debian systemd[1]: Starting Docker Application Container Engine...
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.792182777-04:00" level=info msg="starting containerd" revision=894b81a4b802e4eb2a91d1ce216b8817763c29fb version=v1.2.6
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.793016569-04:00" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.793166397-04:00" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.793546431-04:00" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.btrfs" error="path /var/lib/containerd/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.793692425-04:00" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806371762-04:00" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.aufs" error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules/4.19.0-5-amd64\n": exit status 1"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806401739-04:00" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806438597-04:00" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806556566-04:00" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806729540-04:00" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.zfs" error="path /var/lib/containerd/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806738333-04:00" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806749216-04:00" level=warning msg="could not use snapshotter btrfs in metadata plugin" error="path /var/lib/containerd/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806754367-04:00" level=warning msg="could not use snapshotter aufs in metadata plugin" error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules/4.19.0-5-amd64\n": exit status 1"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806760431-04:00" level=warning msg="could not use snapshotter zfs in metadata plugin" error="path /var/lib/containerd/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806828228-04:00" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806840860-04:00" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806859862-04:00" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806868838-04:00" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806877414-04:00" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806890110-04:00" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806898879-04:00" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806907248-04:00" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806917309-04:00" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806925793-04:00" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806954719-04:00" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.806981803-04:00" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807220606-04:00" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807238937-04:00" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807268401-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807277907-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807287329-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807295303-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807302872-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807310989-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807318543-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807327228-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807334958-04:00" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807369733-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807380923-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807389374-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807397307-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.cri"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807433011-04:00" level=info msg="Start cri plugin with config {PluginConfig:{ContainerdConfig:{Snapshotter:overlayfs DefaultRuntime:{Type:io.containerd.runtime.v1.linux Engine: Root: Options:<nil>} UntrustedWorkloadRuntime:{Type: Engine: Root: Options:<nil>} Runtimes:map[] NoPivot:false} CniConfig:{NetworkPluginBinDir:/opt/cni/bin NetworkPluginConfDir:/etc/cni/net.d NetworkPluginConfTemplate:} Registry:{Mirrors:map[docker.io:{Endpoints:[https://registry-1.docker.io]}] Auths:map[]} StreamServerAddress:127.0.0.1 StreamServerPort:0 EnableSelinux:false SandboxImage:k8s.gcr.io/pause:3.1 StatsCollectPeriod:10 SystemdCgroup:false EnableTLSStreaming:false X509KeyPairStreaming:{TLSCertFile: TLSKeyFile:} MaxContainerLogLineSize:16384} ContainerdRootDir:/var/lib/containerd ContainerdEndpoint:/run/containerd/containerd.sock RootDir:/var/lib/containerd/io.containerd.grpc.v1.cri StateDir:/run/containerd/io.containerd.grpc.v1.cri}"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807447120-04:00" level=info msg="Connect containerd service"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807461846-04:00" level=info msg="Get image filesystem path "/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs""
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807562207-04:00" level=error msg="Failed to load cni during init, please check CRI plugin status before setting up network for pods" error="cni config load failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.807702878-04:00" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.810177476-04:00" level=info msg=serving... address="/run/containerd/containerd.sock"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.810195277-04:00" level=info msg="containerd successfully booted in 0.018241s"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.820707831-04:00" level=info msg="Start subscribing containerd event"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.820833348-04:00" level=info msg="Start recovering state"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.821029829-04:00" level=info msg="Start event monitor"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.821044594-04:00" level=info msg="Start snapshots syncer"
Aug 18 21:42:10 debian containerd[8811]: time="2019-08-18T21:42:10.821050861-04:00" level=info msg="Start streaming server"
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.828225395-04:00" level=info msg="Starting up"
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.828827758-04:00" level=warning msg="Running experimental build"
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.832806297-04:00" level=info msg="parsed scheme: \"unix\"" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.833058235-04:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.833205519-04:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] }" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.833337639-04:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.833535528-04:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc0005bfcd0, CONNECTING" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.837871166-04:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc0005bfcd0, READY" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.840179325-04:00" level=info msg="parsed scheme: \"unix\"" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.840600543-04:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.840757027-04:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] }" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.840898653-04:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.842071649-04:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc000659bd0, CONNECTING" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.842751074-04:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc000659bd0, READY" module=grpc
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.845027286-04:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.858120075-04:00" level=warning msg="Your kernel does not support swap memory limit"
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.858381240-04:00" level=warning msg="Your kernel does not support cgroup rt period"
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.858516721-04:00" level=warning msg="Your kernel does not support cgroup rt runtime"
Aug 18 21:42:10 debian dockerd[8812]: time="2019-08-18T21:42:10.858847003-04:00" level=info msg="Loading containers: start."
Aug 18 21:42:11 debian dockerd[8812]: time="2019-08-18T21:42:11.016204814-04:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Aug 18 21:42:11 debian dockerd[8812]: time="2019-08-18T21:42:11.070162380-04:00" level=info msg="Loading containers: done."
Aug 18 21:42:11 debian systemd[443]: var-lib-docker-overlay2-opaque\x2dbug\x2dcheck272283438-merged.mount: Succeeded.
Aug 18 21:42:11 debian systemd[1]: var-lib-docker-overlay2-opaque\x2dbug\x2dcheck272283438-merged.mount: Succeeded.
Aug 18 21:42:11 debian dockerd[8812]: time="2019-08-18T21:42:11.095357005-04:00" level=info msg="Docker daemon" commit=74b1e89e8a graphdriver(s)=overlay2 version=19.03.1
Aug 18 21:42:11 debian dockerd[8812]: time="2019-08-18T21:42:11.096070469-04:00" level=info msg="Daemon has completed initialization"
Aug 18 21:42:11 debian systemd[1]: Started Docker Application Container Engine.
Aug 18 21:42:11 debian dockerd[8812]: time="2019-08-18T21:42:11.128779584-04:00" level=info msg="API listen on /var/run/docker.sock"
docker info

Client:
 Debug Mode: false

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 19.03.1
 Storage Driver: overlay2
  Backing Filesystem: xfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.19.0-5-amd64
 Operating System: Debian GNU/Linux 10 (buster)
 OSType: linux
 Architecture: x86_64
 CPUs: 1
 Total Memory: 987.6MiB
 Name: debian
 ID: Z7SG:HOT2:IZFC:EJZ4:A7QS:4FKB:H62V:4A3Z:I7N2:SMFC:KJTJ:NNS2
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: true
 Insecure Registries:
  127.0.0.0/8
 Registry Mirrors:
  https://hub-mirror.c.163.com/
  https://docker.mirrors.ustc.edu.cn/
 Live Restore Enabled: true
 Product License: Community Engine

WARNING: No swap limit support
sudo vim /etc/default/grub

GRUB_CMDLINE_LINUX="vsyscall=emulate"
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo reboot

# Edit the /etc/default/grub file. Add or edit the GRUB_CMDLINE_LINUX line to add the following two key-value pairs:
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
# Save and close the file.
# Update GRUB.
sudo update-grub

cat /boot/config-`uname -r` |grep -i rt_group
# CONFIG_RT_GROUP_SCHED is not set

apt install linux-headers-$(uname -r)

参考