CentOS7安装Docker
查看CPU架构
1 | uname -m |
下载
1 | wget https://download.docker.com/linux/static/stable/aarch64/docker-20.10.7.tgz |
1 | wget https://download.docker.com/linux/static/stable/x86_64/docker-20.10.7.tgz |
1 | uname -m |
1 | wget https://download.docker.com/linux/static/stable/aarch64/docker-20.10.7.tgz |
1 | wget https://download.docker.com/linux/static/stable/x86_64/docker-20.10.7.tgz |
1 | [root@iZqryz7xfamf9rZ categories]# locale -a |grep "zh_CN" |
1 | connect: 网络不可达 |
1 | # vim /etc/sysconfig/network-scripts/ifcfg-ens32 |
1 | service network restart |
1 | ping baidu.com无法通讯 |
1 | # vim /etc/resolv.conf |
1 | sudo yum install -y ca-certificates |
1 | -bash:ifconfig:command not found |
1 | yum install net-tools.x86_64 |
https://zhuanlan.zhihu.com/p/660162767
https://blog.csdn.net/weixin_47268883/article/details/128957082
https://blog.csdn.net/qq_41704415/article/details/106279044
https://blog.csdn.net/yin767833376/article/details/85270563
https://blog.csdn.net/xiaofangzhen/article/details/121421716
1 | firewall-cmd --state |
1 | systemctl start firewalld |
1 | systemctl stop firewalld |