Docker 发布工具:Beluga
jopen
9年前
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.