【docker】安装方法

3 yum -y install gcc
4 yum -y install gcc-c++
5 yum install -y yum-utils
6 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
7 yum makecache fast
8 yum install docker-ce docker-ce-cli containerd.io
9 systemctl start docker
10 systemctl status docker.service
11 systemctl start docker

 

posted @ 2022-09-19 15:48  老年新手工程师  阅读(11)  评论(0编辑  收藏  举报