当安装好shipyard后,一旦关机,之后按照https://shipyard-project.com/docs/deploy/manual/官网重新运行镜像启动shipyard,此时会出现Unauthorized request错误,即能打开页面,但是页面显示错误:
{"data":"Bad Gateway","status":502,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"/containers/json?all=1","headers":{"Accept":"application/json, text/plain, */*","X-Access-Token":"admin:$2a$10$X8yraj7MwFAv8HdzAIFeB.0zIs1Dzqs4J3E1UCmefY1.T3Ka7Y0LK"}},"statusText":"Bad Gateway"}
如果是centos系统,仅需将/etc/sysconfig/network-scripts/ifcfg-enp0s3中的DNS改为8.8.8.8,之后重新部署,就能解决。