Skip to content

ArkNg/crane

 
 

Repository files navigation

Crane

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

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 authentation, 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 Authentation Managment: 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.

Demo

Please visit http://crane.shurenyun.com

Note: the above is a demo site, unstable and maintainless.

Installation

Prerequisites

Option 1: Stable version in one line

For Chinese guys (pull images from catalog.shurenyun.com):

bash -c "$(curl http://ocrqkagax.bkt.clouddn.com/install.sh)" -s v1.0.4

For others (pull images from hub.docker.com):

bash -c "$(curl http://ocrqkagax.bkt.clouddn.com/install.sh)" -s v1.0.4 2breakfast/

Option 2: Latest or development from docker build

CRANE_IP=192.168.59.105 ./bin/build-and-start.sh

CRANE_IP is the ip address(don't use 0.0.0.0 because we are using container in network bridge mode) of the running Crane host which is the swarm manager also.

Usage

Browser http://$CRANE_IP ,

  • username: admin@admin.com
  • password: adminadmin

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.

About

Control plane based on docker built-in swarm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 36.0%
  • JavaScript 30.1%
  • HTML 26.2%
  • Shell 3.3%
  • CSS 3.0%
  • Python 0.8%
  • Other 0.6%