小编Ofe*_*saf的帖子

如何远程访问私有docker-registry?

我正在尝试使用以下图像设置私有docker注册表:https: //github.com/docker/docker-registry

只需运行:
docker run -p 5000:5000 registry

我只能从localhost拉/从这个存储库推送/但是如果我尝试从另一台机器上访问它(使用同一局域网上的私有地址),它会失败并显示错误消息:

*2014/11/03 09:49:04 Error: Invalid registry endpoint https ://10.0.0.26:5000/v1/': 
Get https:// 10.0.0.26:5000/v1/_ping: Forbidden. If this private 
registry supports only HTTP or HTTPS with an unknown CA certificate,
please add `--insecure-registry 10.0.0.26:5000` to the daemon's 
arguments. In the case of HTTPS, if you have access to the registry's
CA certificate, no need for the flag; simply place the CA certificate 
at /etc/docker/certs.d/10.0.0.26:5000/ca.crt*
Run Code Online (Sandbox Code Playgroud)

令我发疯的是我可以使用:curl 10.0.0.26:5000 和/或成功访问它 curl 10.0.0.26:5000/v1/search

我也不明白我应该在哪里以及如何通过--insecure-registry国旗.

remote-access docker docker-registry

81
推荐指数
7
解决办法
9万
查看次数

气流设置可实现高可用性

如何在高可用性中部署apache气流(正式名称为airbnb的气流)调度程序?

我不是在询问显然应该在高可用性配置中部署的后端数据库或RabbitMQ.

我的主要关注点是调度程序 - 是否有特殊需要做的事情?

high-availability airflow

11
推荐指数
1
解决办法
4045
查看次数