Я пытаюсь установить песочницу с помощью DockerCE на RHEL 7.
Когда я запускаю сценарий развертывания docker, я получаю множество ошибок, как показано ниже.
sudo bash docker-deploy-hdp30.sh
+ registry=hortonworks
+ name=sandbox-hdp
+ version=3.0.1
+ proxyName=sandbox-proxy
+ proxyVersion=1.0
+ flavor=hdp
+ echo hdp
+ mkdir -p sandbox/proxy/conf.d
+ mkdir -p sandbox/proxy/conf.stream.d
+ docker pull hortonworks/sandbox-hdp:3.0.1
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp 34.199.40.84:443: connect: connection refused
+ docker pull hortonworks/sandbox-proxy:1.0
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp 34.199.77.19:443: connect: connection refused
+ '[' hdp == hdf ']'
+ '[' hdp == hdp ']'
+ hostname=sandbox-hdp.hortonworks.com
++ docker images
++ grep hortonworks/sandbox-hdp
++ awk '{print $2}'
+ version=
+ docker network create cda
+ docker run --privileged --name sandbox-hdp -h sandbox-hdp.hortonworks.com --network=cda --network-alias=sandbox-hdp.hortonworks.com -d hortonworks/sandbox-hdp:
docker: invalid reference format.
See 'docker run --help'.
+ echo ' Remove existing postgres run files. Please wait'
Remove existing postgres run files. Please wait
+ sleep 2
+ docker exec -t sandbox-hdp sh -c 'rm -rf /var/run/postgresql/*; systemctl restart postgresql-9.6.service;'
Error: No such container: sandbox-hdp
+ sed s/sandbox-hdp-security/sandbox-hdp/g assets/generate-proxy-deploy-script.sh
+ mv -f assets/generate-proxy-deploy-script.sh.new assets/generate-proxy-deploy-script.sh
+ chmod +x assets/generate-proxy-deploy-script.sh
+ assets/generate-proxy-deploy-script.sh
+ uname
+ grep MINGW
+ chmod +x sandbox/proxy/proxy-deploy.sh
+ sandbox/proxy/proxy-deploy.sh
docker: invalid reference format.
See 'docker run --help'.
Я хотелпроверьте, правильно ли настроен DockerCE, один из следующих шагов:
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
Но это просто дает мне:
This system is receiving updates from RHN Classic or Red Hat Satellite.
adding repo from: https://download.docker.com/linux/centos/docker-ce.repo
grabbing file https://download.docker.com/linux/centos/docker-ce.repo to /etc/yum.repos.d/docker-ce.repo
Could not fetch/save url https://download.docker.com/linux/centos/docker-ce.repo to file /etc/yum.repos.d/docker-ce.repo: [Errno 14] curl#7 - "Failed to connect to 2600:9000:20c7:5200:3:db06:4200:93a1: Network is unreachable"
У меня установлен доступ к прокси.
Любой совет приветствуется.