[ https://issues.apache.org/jira/browse/EAGLE-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hao Chen updated EAGLE-53: -------------------------- Description: This is docker container for eagle to help users to have a quick preview about eagle features. And this project is to build apache/eagle images and provide eagle-functions to start the containers of eagle. Prerequisite ========= Docker environment (see https://www.docker.com) Installation & Usage =============== 1. [Build Image]: Go to the root directory where the Dockerfile is in, build image with following command: {code} docker built -t apache/eagle . {code} The docker image is named apache/eagle. Eagle docker image is based on ambari:1.7.0, it will install ganglia, hbase,hive,storm,kafka and so on in this image. Add startup script and buleprint file into image. 2. [Verify Image: After building the apache/eagle image successfully, verify the images and could find eagle image. {code} docker images {code} 3. [Deploy Image]: This project also provides helper functions in script eagle-functions for convenience. {code} # Firstly, load the helper functions into context source eagle-functions # Secondly, start to deploy eagle cluster # (1) start single-node container eagle-deploy-cluster 1 # (2) Or muti-node containers eagle-deploy-cluster 3 {code} [Find IP and Port Mapping]: After the container is up and running. The first thing you need to do is finding the IP address and port mapping of the docker container: {code} docker inspect -f '{{ .NetworkSettings.IPAddress }}' eagle-server docker ps {code} [Start to use Eagle]: Congratulations! You are able to start using Eagle now. Please open eagle ui at following address (username: ADMIN, password: secret by default) {code} http://{{container_ip}}:9099 {code} [Manage Eagle Cluster]: This step is about how to managing the eagle cluster though not must-have at starting. Eagle docker depends on Ambari to manage the cluster infrastructure of Eagle. Following are some helpful links: * Ambari UI: http://{{container_ip}}:8080 (username: ADMIN, password: ADMIN) * Storm UI: http://{{container_ip}}:8744 was: This is docker container for eagle to help users to have a quick preview about eagle features. And this project is to build apache/eagle images and provide eagle-functions to start the containers of eagle. Prerequisite Docker environment (see https://www.docker.com) Installation & Usage 1. [Build Image]: Go to the root directory where the Dockerfile is in, build image with following command: {code} docker built -t apache/eagle . {code} The docker image is named apache/eagle. Eagle docker image is based on ambari:1.7.0, it will install ganglia, hbase,hive,storm,kafka and so on in this image. Add startup script and buleprint file into image. 2. [Verify Image: After building the apache/eagle image successfully, verify the images and could find eagle image. {code} docker images {code} 3. [Deploy Image]: This project also provides helper functions in script eagle-functions for convenience. {code} # Firstly, load the helper functions into context source eagle-functions # Secondly, start to deploy eagle cluster # (1) start single-node container eagle-deploy-cluster 1 # (2) Or muti-node containers eagle-deploy-cluster 3 {code} [Find IP and Port Mapping]: After the container is up and running. The first thing you need to do is finding the IP address and port mapping of the docker container: {code} docker inspect -f '{{ .NetworkSettings.IPAddress }}' eagle-server docker ps {code} [Start to use Eagle]: Congratulations! You are able to start using Eagle now. Please open eagle ui at following address (username: ADMIN, password: secret by default) {code} http://{{container_ip}}:9099 {code} [Manage Eagle Cluster]: This step is about how to managing the eagle cluster though not must-have at starting. Eagle docker depends on Ambari to manage the cluster infrastructure of Eagle. Following are some helpful links: * Ambari UI: http://{{container_ip}}:8080 (username: ADMIN, password: ADMIN) * Storm UI: http://{{container_ip}}:8744 > Docker Image for Eagle > ---------------------- > > Key: EAGLE-53 > URL: https://issues.apache.org/jira/browse/EAGLE-53 > Project: Eagle > Issue Type: New Feature > Affects Versions: 0.3.0 > Environment: docker 1.9.0 > Reporter: ZhaokunQin > Assignee: Hao Chen > Fix For: 0.3.0 > > > This is docker container for eagle to help users to have a quick preview > about eagle features. And this project is to build apache/eagle images and > provide eagle-functions to start the containers of eagle. > Prerequisite > ========= > Docker environment (see https://www.docker.com) > Installation & Usage > =============== > 1. [Build Image]: Go to the root directory where the Dockerfile is in, build > image with following command: > {code} > docker built -t apache/eagle . > {code} > The docker image is named apache/eagle. Eagle docker image is based on > ambari:1.7.0, it will install ganglia, hbase,hive,storm,kafka and so on in > this image. Add startup script and buleprint file into image. > 2. [Verify Image: After building the apache/eagle image successfully, verify > the images and could find eagle image. > {code} > docker images > {code} > 3. [Deploy Image]: This project also provides helper functions in script > eagle-functions for convenience. > {code} > # Firstly, load the helper functions into context > source eagle-functions > # Secondly, start to deploy eagle cluster > # (1) start single-node container > eagle-deploy-cluster 1 > # (2) Or muti-node containers > eagle-deploy-cluster 3 > {code} > [Find IP and Port Mapping]: After the container is up and running. The first > thing you need to do is finding the IP address and port mapping of the docker > container: > {code} > docker inspect -f '{{ .NetworkSettings.IPAddress }}' eagle-server > docker ps > {code} > [Start to use Eagle]: Congratulations! You are able to start using Eagle now. > Please open eagle ui at following address (username: ADMIN, password: secret > by default) > {code} > http://{{container_ip}}:9099 > {code} > [Manage Eagle Cluster]: This step is about how to managing the eagle cluster > though not must-have at starting. Eagle docker depends on Ambari to manage > the cluster infrastructure of Eagle. Following are some helpful links: > * Ambari UI: http://{{container_ip}}:8080 (username: ADMIN, password: ADMIN) > * Storm UI: http://{{container_ip}}:8744 -- This message was sent by Atlassian JIRA (v6.3.4#6332)