[
https://issues.apache.org/jira/browse/EAGLE-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15028403#comment-15028403
]
Hao Chen edited comment on EAGLE-53 at 11/26/15 9:15 AM:
---------------------------------------------------------
I think the better implementation should be
- No need to download package anyway, just compile and build into docker image
from source code.
- No need to separate preview or development images, just focus on docker
preview image.
- User only need to executing single command after cloning eagle repository,
then everything is ok both for end-user and developer (developer could choose
to stop the eagle installation inside as development environment)
{code}
git clone https://github.com/apache/incubator-eagle.git
mvn exec:docker
{code}
was (Author: haoch):
I think the better implementation should be
- No need to download package anyway, just compile and build into docker image
from source code.
- No need to separate preview or development images, just focus on docker
preview image.
- User only need to executing single command after cloning eagle repository,
then everything is ok both for end-user and developer (developer could choose
to stop the eagle installation inside as development environment)
{code}
git clone https://github.com/apache/incubator-eagle.git
mvn exec:docker(just for example, may not correct)
{code}
> 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
> Labels: Integration
> 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}
> 4. [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}
> 5. [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}
> 6. [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)