Linux(Docker)上的HortonWorks Sandbox-无效的参考格式

时间:2019-06-14 18:21:20

标签: hortonworks-sandbox

我正在尝试在RHEL 7上使用DockerCE安装沙箱。

当我运行docker deploy脚本时,出现很多错误,如下所示。

NM= [1 3; 2 4]                                 //matrix  
figure
hold on;
z = zeros(size(NM, 1), 1);                    //to use quiver3
quiver3(z, z, z, NM(:,1), NM(:,2), z, 0);     //vectors plotted
grid on
view(45, 45);
s=sum(NM);
p = 10*(rand(3,1) - 0.5);                     //  generation of points
O1=[NM(1,:) 0]                                // new vectors of length 3 ,
O2=[NM(2,:) 0]                                // to be used by cross
v3 = cross(O1,O2)                             //cross product to find the norm
[ x , y ] = meshgrid( p(1)+(-5:5) , p(2)+(-5:5) );   // points inside the plane
z = p(3) - (v3(1)*(x-p(1)) + v3(2)*(y-p(2)))/v3(3);  // plane equation
surf(x,y,z)                                   //the plane itself

我想检查DockerCE的设置是否正确,步骤如下:

function Practice(display, image) {
  var a = document.getElementById("container_show_chat");
  a.style.display = display;
  var b = document.getElementById("container_chat");
  b.style.backgroundImage = image;
};

Practice("none", "the url");

但这给了我

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'.

我确实设置了代理访问权限。

任何建议表示赞赏。

0 个答案:

没有答案