BelugaDocker 发布工具

联合创作 · 2023-09-27 14:05

Beluga 是一个命令行工具,用来将 Docker 容器发布到单个服务器以及数量不多的服务器群组。


为什么不用 Kubernetes 或者 Mesos?



  • 当前 Docker 不支持多租户环境


  • 所以不管是 Kubernetes 还是 Mesos 都无法操作 Docker/容器层


  • 很多实际的问题:


  • #2918 (PR: #4572) (container root is identical to host root -- volumes can be written and read from as host root inside container).


  • (WIP) Docker doesn't have any ACL. Writing to docker.sock == root.


  • #5619 (PR: #6000) (absolute symlinks and symlink path components copy host target).



Beluga 不能做什么



  • Down-to-distro cluster managements


  • Docker registry or app management itself


  • Magic service discovery


  • Infrastructure management ### How is it working?



    • Run dockerfiles to build them


    • Push them to repository


    • Pull them when connected to server by ssh


    • That's it!




需求



  • A Unix compatible system with RSync


  • SSH


  • Docker Compose


  • Obviously, Docker..


  • Some love.


浏览 26
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报