[root@ng1 nebula]# ./jiqunRestart.sh Processing Meta Service ... start ng1 The authenticity of host 'ng1 (::1)' can't be established. ECDSA key fingerprint is SHA256:A1I43wcavqxvxEqTh2XYzqdYlXZZVbavUpmoQffE26Y. ECDSA key fingerprint is MD5:5d:9c:99:d7:70:51:5f:f0:e5:c7:cc:0d:54:e5:b6:f9. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'ng1' (ECDSA) to the list of known hosts. root@ng1's password: start ng2 The authenticity of host 'ng2 (192.168.111.133)' can't be established. ECDSA key fingerprint is SHA256:A1I43wcavqxvxEqTh2XYzqdYlXZZVbavUpmoQffE26Y. ECDSA key fingerprint is MD5:5d:9c:99:d7:70:51:5f:f0:e5:c7:cc:0d:54:e5:b6:f9. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'ng2,192.168.111.133' (ECDSA) to the list of known hosts. root@ng2's password: Processing Storage Service ... start ng1 root@ng1's password: start ng2 root@ng2's password: Processing Graph Service ... start ng1 root@ng1's password: start ng2 root@ng2's password:
这一步可能会出现“ERROR: Couldn’t connect to Docker daemon at http+docker://localhost - is it running? If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.的问题”,是因为需要给用户登录,直接su给root权限启动就可以了