新建虚拟机或云主机,连通网络后刷此脚本安装docker
#卸载旧docker 安装新docker yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo http://download.docker.com/linux/centos/docker-ce.repo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo yum install -y docker-ce docker-ce-cli containerd.io systemctl start docker systemctl enable docker mkdir -p /etc/docker tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["https://yqre8ban.mirror.aliyuncs.com"] } EOF systemctl daemon-reload systemctl restart docker
拉取oneforall镜像,收集子域名
docker pull shmilylty/oneforall docker run -it --rm -v ~/results:/OneForAll/results shmilylty/oneforall --target baidu.com --format xls run
收集的结果位于
~/results目录中。标签:--,results,ce,repo,yum,docker,安装,CentOS7.6 From: https://www.cnblogs.com/yogurt-lids/p/17896953.html