未经授权的docker堆栈部署。

问题描述 投票:0回答:1

我有一个项目,我可以在Docker Desktop下在macOS上运行。但是当我在LinuxUbuntu下用microk8s运行同样的项目时,我得到了未经授权的请求。

Removing pre-existing stack...
Unauthorized
Building docker images...
Sending build context to Docker daemon     65MB
Step 1/24 : FROM anapsix/alpine-java:8u172b11_jdk_unlimited
Get https://registry-1.docker.io/v2/: x509: certificate is valid for *.gresb.com, gresb.com, not registry-1.docker.io
Sending build context to Docker daemon     65MB
Step 1/24 : FROM anapsix/alpine-java:8u172b11_jdk_unlimited
Get https://registry-1.docker.io/v2/: x509: certificate is valid for *.gresb.com, gresb.com, not registry-1.docker.io
Sending build context to Docker daemon     65MB
Step 1/24 : FROM anapsix/alpine-java:8u172b11_jdk_unlimited
Get https://registry-1.docker.io/v2/: x509: certificate is valid for *.gresb.com, gresb.com, not registry-1.docker.io
Deploying stack...
Unauthorized
Docker ps:
Unauthorized
docker service logs -f CONTAINER
party-a SSH shell access
ssh -o StrictHostKeyChecking=no user1@localhost -o UserKnownHostsFile=/dev/null -p 2221
party-b SSH shell access
ssh -o StrictHostKeyChecking=no user1@localhost -o UserKnownHostsFile=/dev/null -p 2222
party-c SSH shell access
ssh -o StrictHostKeyChecking=no user1@localhost -o UserKnownHostsFile=/dev/null -p 2223

代码是在github上。https:/github.comhenrikr3corda-kubernetes-yo。 我是kubernetes的新手,我试着登录dockerhub,但我甚至不知道它试图授权到哪个端点。

docker kubernetes docker-compose corda
1个回答
1
投票

很高兴看到你能弄清楚是网络供应商的问题!如果以后有谁发现这个问题,请告诉我。

对于未来发现这个问题的人来说,最近有一个类似的docker compose设置的例子,在这里github上清楚地说明了如何设置一个corda容器集群。https:/github.comEricMcEvoyR3corda-docker-compose。

© www.soinside.com 2019 - 2024. All rights reserved.