Skip to content

jiangshengwu/dockerf

 
 

Repository files navigation

DockerF: 一个基于云的Docker部署框架

##目标: 让应用开发人员只需要关注自己的业务,简单快速的将自己的应用部署到云上的容器中。

##使用方式

部署

dockerf deploy --security=$sid -f $confs

cluster-id: weibo-platform
cloud-driver: aliyun
pods:
   - feed:
        num: 20
        region: BJ
        containers:
           - front-end:
                num:1
                image: registry.weibo.com/feed:latest
                command: bash
           - user-latest:
                num:1
                image: register.weibo.com/feed:stable
                command: bash
service-discovery:
   engine: etcd
   nodes: 192.168.1.1,192.168.1.2,192.168.1.3,192.168.1.4,192.168.1.5

服务发现

dockerf install --type=discovery --nodes=5 --engine=etcd

启动停止

dockerf deploy --type=pod --start=true --name=$podname -f $conf

dockerf drop --type=pod --id=$pod-id

查看

dockerf list resource | pod | container

监控统计

dockerf stats resource | pod | container

About

A docker framework, keep deploying container to public cloud simple and quickly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.9%
  • Makefile 0.1%