<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/ DTD/wml_1.1.xml">

<wml>
<head>
<meta http-equiv="cache-control" content="max-age=180,private" />
</head>
<card title="crane数人云docker容器管理面板">
<p>
作者:<a href="index.php?action=showuser&amp;userid=1&amp;hash=">admin</a><br />时间:2017-04-19 15:20<br />分类:<a href="index.php?action=list&amp;cid=3&amp;hash=">电脑技术</a><br />内容:
crane数人云docker容器管理面板

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

    docker&gt;=1.12 how to install

    docker-compose&gt;=1.8.0 how to install

    Enable the Docker tcp Socket on port: 2375 how to config

    Start ntp service




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 &quot;inet &quot;|awk '{print $2}' |awk -F &quot;/&quot; '{print $1}'


 



    docker-compose up crame service



$ CRANE_IP=`&lt;your real host ip,such as 192.168.1.x&gt;` ./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




Build From Source
Clone crane in GoPath


&gt; mkdir -p ${GOPATH}/src/github.com/Dataman-Cloud
&gt; cd ${GOPATH}/src/github.com/Dataman-Cloud
&gt; git clone https://github.com/Dataman-Cloud/crane.git crane


And make sure you have go (&gt;= 1.6) go into the crane dir


&gt; 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


Wechat group: 数人云Crane技术交流群



Contribution
Both pull-requests or issues are welcomed from the community.



License
Crane is available under the Apache 2 license.
</p><p>
<a href="index.php?action=login&amp;hash=">立即登陆发表评论</a><br />
</p>
<p><a href="index.php?action=list&amp;hash=">返回日志列表</a><br /><a href="index.php?action=index&amp;hash=">返回主页</a></p>
</card>
</wml>
