kubeplay icon indicating copy to clipboard operation
kubeplay copied to clipboard

bug(registry): registry server is not running

Open divfor opened this issue 3 years ago • 2 comments

WARN[0000] error while executing [/usr/local/bin/nerdctl rm -f nginx]: "time="2021-09-05T13:35:47Z" level=fatal msg="no such container nginx"\n": exit status 1 INFO[0000] Creating network kubeplay_default WARN[0000] Ignoring: volume: [Bind] WARN[0000] Ignoring: volume: [Bind] WARN[0000] Ignoring: volume: [Bind] WARN[0000] Ignoring: volume: [Bind] WARN[0000] Ignoring: volume: [Bind] INFO[0000] Ensuring image registry:2.7.1 INFO[0000] Ensuring image nginx:1.20-alpine INFO[0000] Creating container registry INFO[0000] Creating container nginx ✔ The registry container is running. ✔ The nginx container is running. ✔ The http://192.168.100.25:8080/certs/rootCA.crt website is running, and the status code is 200. ✖ Error: the https://kube.registry.local:443/v2/_catalog website is not running, and the status code is 502!

总是退出再这一步502

divfor avatar Sep 05 '21 13:09 divfor

现在不出502了。但是多次执行安装测试,随机地,会出现末行000错误而终止:

INFO[0000] Creating container nginx
INFO[0000] Creating container registry
✔ The registry container is running.
✔ The nginx container is running.
✖ Error: the http://192.168.100.25:8080/certs/rootCA.crt website is not running, and the status code is 000!

divfor avatar Sep 06 '21 02:09 divfor

我估计是nginx还没准备好就访问了,所以是随机出现

divfor avatar Sep 06 '21 02:09 divfor