FROM centos:8.4.2105

LABEL maintainer="zxl"

RUN curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo && yum install -y containerd.io-1.4.11 && yum clean all && mkdir -p /etc/containerd && containerd config default > /etc/containerd/config.toml

ENV TZ Asia/Shanghai

ENTRYPOINT containerd