systemctl stop firewalld.service
systemctl disable firewalld.service
docker run? -d --name=registry -p 5000:5000 registry
docker run -d --name=rancher -p 9090:8080 rancher/server
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
? "registry-mirrors": ["https://o4omo0yw.mirror.aliyuncs.com"],"insecure-registries":["192.168.244.131:5000"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
docker start registry rancher