Return-Path: X-Original-To: apmail-eagle-commits-archive@minotaur.apache.org Delivered-To: apmail-eagle-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CFB7118888 for ; Mon, 30 Nov 2015 10:12:13 +0000 (UTC) Received: (qmail 24159 invoked by uid 500); 30 Nov 2015 10:12:13 -0000 Delivered-To: apmail-eagle-commits-archive@eagle.apache.org Received: (qmail 24135 invoked by uid 500); 30 Nov 2015 10:12:13 -0000 Mailing-List: contact commits-help@eagle.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.incubator.apache.org Delivered-To: mailing list commits@eagle.incubator.apache.org Received: (qmail 24126 invoked by uid 99); 30 Nov 2015 10:12:13 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2015 10:12:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 396381A0BE8 for ; Mon, 30 Nov 2015 10:12:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.247 X-Spam-Level: X-Spam-Status: No, score=0.247 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.554, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id nEC8Wl9EGs8U for ; Mon, 30 Nov 2015 10:11:58 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id CF35D23066 for ; Mon, 30 Nov 2015 10:11:43 +0000 (UTC) Received: (qmail 22231 invoked by uid 99); 30 Nov 2015 10:11:43 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2015 10:11:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 89E8FE091A; Mon, 30 Nov 2015 10:11:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hao@apache.org To: commits@eagle.incubator.apache.org Date: Mon, 30 Nov 2015 10:11:58 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [16/20] incubator-eagle git commit: Update README.md Update README.md Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/aee5d6fa Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/aee5d6fa Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/aee5d6fa Branch: refs/heads/master Commit: aee5d6fa2e919e6eff2f21f4c047256cf4e86775 Parents: 8509591 Author: Hao Chen Authored: Mon Nov 30 16:02:39 2015 +0800 Committer: Hao Chen Committed: Mon Nov 30 16:02:39 2015 +0800 ---------------------------------------------------------------------- eagle-external/eagle-docker/README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/aee5d6fa/eagle-external/eagle-docker/README.md ---------------------------------------------------------------------- diff --git a/eagle-external/eagle-docker/README.md b/eagle-external/eagle-docker/README.md index e272856..e3d35dc 100644 --- a/eagle-external/eagle-docker/README.md +++ b/eagle-external/eagle-docker/README.md @@ -8,7 +8,28 @@ And this project is to build apache/eagle images and provide eagle-functions to ## Prerequisite * Docker environment (see [https://www.docker.com](https://www.docker.com/)) -## Installation & Usage +## CLI Usage ## +Basic usage of the entry script of eagle-docker: [bin/eagle-docker.sh](bin/eagle-docker.sh) + + Usage: ./eagle-docker [options] [command] + + Apache Eagle Docker Image : apacheeagle/sandbox:latest + + Commands: + build Build eagle docker image + deploy Deploy eagle docker image + start Start eagle docker instance + stop Stop eagle docker instance + status List eagle docker image and instance status + clean Clean docker image and instance + shell Execute docker instance bash, default: eagle-sandbox + boot Simply bootstrap eagle docker by building then deploying + + Options: + --node [num] Docker instances node number, default is 1 + --help Display eagle docker image usage information + +## Advanced Commands 1. **Build Image**: Go to the root directory where the [Dockerfile](Dockerfile) is in, build image with following command: docker built -t apache/eagle:0.1.0 .