docker-datacenter-helper

所属分类:其他
开发工具:Shell
文件大小:0KB
下载次数:0
上传日期:2016-03-08 02:41:55
上 传 者sh-1993
说明:  在几分钟内启动并运行Docker数据中心解决方案,
(Up & Running Docker Datacenter solution in minutes,)

文件列表:
Vagrantfile (4453, 2016-03-07)
config.yml (330, 2016-03-07)
dtr/ (0, 2016-03-07)
dtr/demo.sh (3786, 2016-03-07)
helper.sh (8769, 2016-03-07)
img/ (0, 2016-03-07)
img/controller-addlicense.png (22555, 2016-03-07)
img/controller-editprofile.png (7892, 2016-03-07)
img/docker-datacenter.jpg (107609, 2016-03-07)
img/registry-addlicense.png (23021, 2016-03-07)
img/registry-adduser.png (70731, 2016-03-07)
img/registry-editdomain.png (27292, 2016-03-07)
img/registry-ignorewarning.png (8759, 2016-03-07)
img/ucp-dashboard.png (121203, 2016-03-07)
logs/ (0, 2016-03-07)
logs/.keep (0, 2016-03-07)
start_dtr (394, 2016-03-07)
start_ucp (801, 2016-03-07)
ucp/ (0, 2016-03-07)
ucp/application/ (0, 2016-03-07)
ucp/application/docker-compose.yml (331, 2016-03-07)
ucp/bundle/ (0, 2016-03-07)
ucp/bundle/.keep (0, 2016-03-07)

# frntn/docker-datacenter-helper **Get Docker's official datacenter solutions _up & running_ in no time.** **100% _unattended_ installation !** Docker Datacenter solution is made of two commercial products : * `DTR` or `Docker Trusted Registry`: offers on-premise image management and storage * `UCP` or `Universal Control Plane`: offers on-premise docker applications management Both requires a CS subscription _(**C**ommercial **S**upport)_ You can get a free 30-days trial here : https://hub.docker.com/enterprise/trial ## Table of Contents - [Usage](https://github.com/frntn/docker-datacenter-helper/blob/master/#usage) - [A. Docker Trusted Registry](https://github.com/frntn/docker-datacenter-helper/blob/master/#a-docker-trusted-registry) - [A1. Start your DTR](https://github.com/frntn/docker-datacenter-helper/blob/master/#a1-start-your-dtr) - [A2. DTR asciicast](https://github.com/frntn/docker-datacenter-helper/blob/master/#a2-dtr-asciicast) - [B. Universal Control Plane](https://github.com/frntn/docker-datacenter-helper/blob/master/#b-universal-control-plane) - [B1. Start your UCP cluster](https://github.com/frntn/docker-datacenter-helper/blob/master/#b1-start-your-ucp-cluster) - [B2. UCP asciicast](https://github.com/frntn/docker-datacenter-helper/blob/master/#b2-ucp-asciicast) - [B3. Launch demo](https://github.com/frntn/docker-datacenter-helper/blob/master/#b3-launch-demo) - [Miscellaneous](https://github.com/frntn/docker-datacenter-helper/blob/master/#miscellaneous) ## Usage **Pre-requisite:** On my laptop, my network interface is either `eth0` (cable) or `wlan0` (wifi). You should check the `config.vm.network` parameter in the `Vagrantfile` if it reflects your setup. If not update it accordingly. On linux you can extract that information with this simple command : `ip -o -4 route get 8.8.8.8 | cut -f5 -d' '` ### A. Docker Trusted Registry #### A1. start your DTR Drop your `docker_subscription.lic` license file at the root of the project, then start your DTR instance(s) : ```bash ./start_dtr ``` This will _provision_ and _configure_ the DTR nodes defined in [config.yml](https://github.com/frntn/docker-datacenter-helper/blob/master/config.yml) file The script will automate all the install process (including license upload). You'll endup with a full functionnal and ready to use private registry. Upon completion, URL to your registry dashboard will be echoed to stdout. #### A2. DTR Asciicast Below is an asciicast capturing the `start_dtr` script output with the default settings : [![dtr-asciicast-stdout](https://github.com/frntn/docker-datacenter-helper/blob/master/https://asciinema.org/a/cqwsraz40gcgscka3gguqfvz0.png)](https://github.com/frntn/docker-datacenter-helper/blob/master/https://asciinema.org/a/cqwsraz40gcgscka3gguqfvz0?autoplay=1) And here is an asciicast capturing the log file content for that same `start_dtr` exec : [![dtr-asciicast-logfile](https://github.com/frntn/docker-datacenter-helper/blob/master/https://asciinema.org/a/ccor16nadmss9hn76v1tq6fes.png)](https://github.com/frntn/docker-datacenter-helper/blob/master/https://asciinema.org/a/ccor16nadmss9hn76v1tq6fes?autoplay=1&speed=2) ### B. Universal Control Plane #### B1. start your UCP cluster Drop your `docker_subscription.lic` license file at the root of the project, then start your DTR instance(s) : ```bash ./start_ucp ``` This will _provision_ and _configure_ the UCP cluster nodes defined in [config.yml](https://github.com/frntn/docker-datacenter-helper/blob/master/config.yml) file The script will automate all the install process (including license upload). You'll endup with a full functionnal and ready to use universal docker platform. Upon completion, URL(s) to your controller(s) dashboard(s) will be echoed to stdout. #### B2. UCP Asciicast Below is an asciicast capturing the `start_ucp` script output with the default settings : [![ucp-asciicast-stdout](https://github.com/frntn/docker-datacenter-helper/blob/master/https://asciinema.org/a/8uogw0mfmgvpaeqqc7ezgsi9t.png)](https://github.com/frntn/docker-datacenter-helper/blob/master/https://asciinema.org/a/8uogw0mfmgvpaeqqc7ezgsi9t?autoplay=1) And here is an asciicast capturing the log file content for that same `start_ucp` exec : [![ucp-asciicast-logfile](https://github.com/frntn/docker-datacenter-helper/blob/master/https://asciinema.org/a/22g7wcaswtioe3is4twgy7ff6.png)](https://github.com/frntn/docker-datacenter-helper/blob/master/https://asciinema.org/a/22g7wcaswtioe3is4twgy7ff6?autoplay=1&speed=2) #### B3. launch demo To use the demo application, we want our local docker client to point to this newly created UCP cluster : ```bash # before check docker version #<-- the 'Server' section mentions 'Version: x.y.z' # load environment variable so your docker client points to remote docker server cd ucp/bundle/ source env.sh # <-- your docker client now speaks with your "remote" UCP cluster # after check docker version #<-- the 'Server' now mentions 'Version: ucp/x.y.z' ``` Then we can now spin up the demo application : ```bash cd ucp/application docker-compose up -d ``` Back to the UCP dashboard you can see the newly deployed application : ![registry-adduser](https://github.com/frntn/docker-datacenter-helper/blob/master/img/ucp-dashboard.png?raw=true) **Congratulations : you've just created your very fist application on an UCP cluster ! :)** ## Miscellaneous * Docker Trusted Registry [official product page](https://github.com/frntn/docker-datacenter-helper/blob/master/https://www.docker.com/products/docker-trusted-registry) and [solution brief](https://github.com/frntn/docker-datacenter-helper/blob/master/https://www.docker.com/sites/default/files/Solutions_Brief_Docker%20Trusted%20Registry_V2%20%281%29.pdf) * Docker Universal Control Plane [official product page](https://github.com/frntn/docker-datacenter-helper/blob/master/https://www.docker.com/products/docker-universal-control-plane) and [solution brief](https://github.com/frntn/docker-datacenter-helper/blob/master/https://www.docker.com/sites/default/files/Solutions_UCP_V3.pdf) ![official-logo](https://github.com/frntn/docker-datacenter-helper/blob/master/img/docker-datacenter.jpg?raw=true)

近期下载者

相关文件


收藏者