• Stars
    star
    751
  • Rank 60,419 (Top 2 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Yet another control plane based on docker built-in swarmkit

Crane

Join the chat at https://gitter.im/Dataman-Cloud/crane Build Status Go Report Card codecov

Crane

Crane, maintained by dataman-cloud, is a docker control panel based on latest docker release. Besides swarm features, Crane implements some badly needed functionalities by enterprise user, such as private registries authentication, ACL and application DAB(distributed application bundle) sharing. The smart fuzzy search function give user quickly access to the desired page. Crane can help storing registry auth pair, from where you can choose a predefined registry auth pair when deploying a DAB, without the need to docker login when access private image. Crane can also help sharing your private images with your coworkers easily.

Features

  • Swarm features: Portal every feature of swarm almost. Crane has highlighted the common swarm functions and improved the user experiences through the friendly frontend.
  • Stack Templates Management: User can save a running stack as a template, by which others can deploy repeatly.
  • Image Management: The private image owned by user can be publiced to others.
  • Fuzzy Search: A in-memory index maintained by the backend serves the function.
  • Node Operation: Crane details about a node such as kernel version, docker info, docker images and also containers running on the node.
  • Network Management: The overlay network CRUD.
  • Registries Authentication Management: You can save your private registry username/password pair to Crane, with which a to-be-deployed stack with restricted image access can attach.
  • WebSSH: Command 'docker exec' is the magic behind it.

OS supported

  • Ubuntu 12.04 Server
  • Ubuntu 14.04 Server
  • CentOS 7.X
  • MacOS 10.x

Installation

Prerequisites

Option 1: Stable version in one line

Please read the release/v1.0.6/README.md

Option 2: development workflow from docker build

  • build crane image
$ ./bin/build-push-or-up.sh build
  • tips to get real host ip based on eth0 interface:
ip addr s eth0 |grep "inet "|awk '{print $2}' |awk -F "/" '{print $1}'
  • docker-compose up crame service
$ CRANE_IP=`<your real host ip,such as 192.168.1.x>` ./bin/build-push-or-up.sh up
  • remove crane container
$ ./bin/build-push-or-up.sh down

CRANE_IP should be assigned the real host ip address of the running Crane host which is the swarm manager also.

How to use it

Demo Crane

Build From Source

Clone crane in GoPath

> mkdir -p ${GOPATH}/src/github.com/Dataman-Cloud
> cd ${GOPATH}/src/github.com/Dataman-Cloud
> git clone https://github.com/Dataman-Cloud/crane.git crane

And make sure you have go (>= 1.6) go into the crane dir

> make

Please click Crane User Guide in Chinese for more details.

Conventions

repo branch

  • master: actively moving foward. PR will be merged into this master branch.
  • release: Released versions. Tagged commits or hotfix PR will be pushed here. Maintained by the repo owners.

Trouble-shooting

Community

Gitter

Wechat group: 数人云Crane技术交流群

Contribution

Both pull-requests or issues are welcomed from the community.

License

Crane is available under the Apache 2 license.

More Repositories

1

swan

A Distributed, Highly Available Mesos Scheduler, Inspired by the design of Google Borg
Go
409
star
2

Mesos-CN

Mesos 中文文档, 数人云
86
star
3

p2pull

Peer-to-peer push/pull between docker hosts on beijing #dockerhackday
Go
23
star
4

OpenDockerFile

Dataman Cloud open Dockerfile repo
Shell
17
star
5

gitstats

git代码统计面板
JavaScript
10
star
6

mock-server

handy mock server tool for REST API service dependency in unit testing
Go
8
star
7

Mesos-in-DataMan

Mesos 中文文档
6
star
8

baker

release engine
Go
5
star
9

zabbix

数人云 zabbix
Shell
5
star
10

Elixir

Single page background management application based on Vue, Element-UI framework
Vue
5
star
11

dataman-training

dataman training
Shell
4
star
12

omega-haproxyctl

omega-haproxyctl is haproxy configration controller, builtin haproxy
Go
4
star
13

Sparky

This is a based on the realization of the vue swan interface of the project
JavaScript
4
star
14

zookeeper-helper

get zookeeper info and status by go-zookeeper
Go
4
star
15

janitor

Go
4
star
16

shurenyun-user-manual

4
star
17

offline-harbor

Shell
3
star
18

spark-standalone-on-mess

在数人云上部署一个 spark standalone 的集群
Shell
3
star
19

drone-svn

Go
3
star
20

webpage

HTML
3
star
21

log-proxy

dataman log search tool
Go
2
star
22

health_checker

Common heath check services
Go
2
star
23

docker-keepalived

Shell
1
star
24

hdfs-datanode

hdfs datanode in docker
Shell
1
star
25

omega-api-docs

shurenyun.com api repo
JavaScript
1
star
26

mesos_build

Shell
1
star
27

docker-mysql

docker mysql dockerfile
Shell
1
star
28

docker-apache

ApacheConf
1
star
29

docker-registry

Registry Dockerfile
Shell
1
star
30

swan-ipam

ipam
Go
1
star
31

Repo

Dataman-Cloud agent and docker install repo
Go
1
star
32

docker-offline-ansible

Shell
1
star
33

jenkins-shurenyun-app

1
star
34

mesosdoc-en

最新mesos英文官方文档
1
star
35

docker-etcd

1
star
36

hbase-docker

add phoenix into hbase
1
star
37

docker-haproxy

Shell
1
star
38

dataman-dependencies

dataman各java项目统一的依赖定义
Groovy
1
star
39

keywordRecommendation

Scala
1
star
40

microservices-demo

JavaScript
1
star
41

ecshop

ecshop demo
PHP
1
star
42

docker-autotestborg

自动化测试borgsphere镜像
Shell
1
star
43

python-sryapicli

shurenyun api command line
Python
1
star
44

pike

cicd
CSS
1
star
45

hdfs-namenode

hdfs namenode in docker
Shell
1
star
46

devel-env-dns

internal dns mapper for developers
1
star
47

hadoop

Docker base image for hadoop
Shell
1
star
48

docker-autotestjborg

自动化测试jborg
Shell
1
star
49

docker-harbor

Harbor Dockerfile
1
star
50

LNMP-on-shurenyun

在数人云上部署 LNMP 架构应用
Shell
1
star
51

seckilling

seckilling platform
Python
1
star