Repository: incubator-eagle Updated Branches: refs/heads/master 403e959d8 -> 5334a23d0
[EAGLE-71] Fix eagle docker run command Author: h...@apache.org Closes #16 Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/5334a23d Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/5334a23d Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/5334a23d Branch: refs/heads/master Commit: 5334a23d0709b34b718c3be7cc0408ae090f7d61 Parents: 403e959 Author: Hao Chen <h...@apache.org> Authored: Thu Dec 3 18:38:51 2015 +0800 Committer: Hao Chen <h...@apache.org> Committed: Thu Dec 3 18:38:51 2015 +0800 ---------------------------------------------------------------------- README.md | 12 ++++++++---- eagle-external/eagle-docker/README.md | 13 ++++++++++++- 2 files changed, 20 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/5334a23d/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 4ded494..21ecd04 100755 --- a/README.md +++ b/README.md @@ -35,11 +35,15 @@ The fastest way to get started with Eagle is to run with [docker](https://github docker pull apacheeagle/sandbox - Deploy eagle in n-nodes (1 node by default) cluster + Then run eagle docker image: - wget https://raw.githubusercontent.com/apache/incubator-eagle/master/eagle-external/eagle-docker/bin/eagle-lib.sh - source eagle-lib.sh - eagle-deploy-cluster 1 + docker run -p 9099:9099 -p 8080:8080 -p 8744:8744 -p 2181:2181 -p 2888:2888 -p 6667:6667 -p 60020:60020 \ + -p 60030:60030 -p 60010:60010 -d --dns 127.0.0.1 --entrypoint /usr/local/serf/bin/start-serf-agent.sh \ + -e KEYCHAIN= --env EAGLE_SERVER_HOST=sandbox.eagle.incubator.apache.org --name sandbox \ + -h sandbox.eagle.incubator.apache.org --privileged=true apacheeagle/sandbox:latest \ + --tag ambari-server=true + docker run -it --rm -e EXPECTED_HOST_COUNT=1 -e BLUEPRINT=hdp-singlenode-eagle --link sandbox:ambariserver\ + --entrypoint /bin/sh apacheeagle/sandbox:latest -c /tmp/install-cluster.sh * Build eagle docker image from source code with [eagle-docker](eagle-external/eagle-docker) tool. http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/5334a23d/eagle-external/eagle-docker/README.md ---------------------------------------------------------------------- diff --git a/eagle-external/eagle-docker/README.md b/eagle-external/eagle-docker/README.md index 2f7ed3e..105fee0 100644 --- a/eagle-external/eagle-docker/README.md +++ b/eagle-external/eagle-docker/README.md @@ -39,7 +39,18 @@ The fastest way to get started with Eagle is to run with [docker](https://github docker pull apacheeagle/sandbox -* Build eagle docker image from source code with [eagle-docker](eagle-external/eagle-docker) + Then run eagle docker image: + + docker run -p 9099:9099 -p 8080:8080 -p 8744:8744 -p 2181:2181 -p 2888:2888 -p 6667:6667 -p 60020:60020 \ + -p 60030:60030 -p 60010:60010 -d --dns 127.0.0.1 --entrypoint /usr/local/serf/bin/start-serf-agent.sh \ + -e KEYCHAIN= --env EAGLE_SERVER_HOST=sandbox.eagle.incubator.apache.org --name sandbox \ + -h sandbox.eagle.incubator.apache.org --privileged=true apacheeagle/sandbox:latest \ + --tag ambari-server=true + docker run -it --rm -e EXPECTED_HOST_COUNT=1 -e BLUEPRINT=hdp-singlenode-eagle --link sandbox:ambariserver\ + --entrypoint /bin/sh apacheeagle/sandbox:latest -c /tmp/install-cluster.sh + + +* Build eagle docker image from source code with [eagle-docker](eagle-external/eagle-docker): git clone https://github.com/apache/incubator-eagle.git cd incubator-eagle && ./eagle-docker boot