DC/OS登錄過時後,在後臺沒法執行命令行,會提示認證過時。須要從新登錄瀏覽器
在後臺運行:dcos auth login命令行
If your browser didn't open, please go to the following link: http://masterIP/login?redirect_uri=urn:ietf:wg:oauth:2.0:oob Enter OpenID Connect ID Token:
上面masterIP則爲你DC/OS master的IP地址,將該連接複製到瀏覽器中,會彈出一個token,複製該token,輸入到提示符後面便可登錄。code