[MINIMAL] Improving docker documentation
Project: http://git-wip-us.apache.org/repos/asf/incubator-myriad/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-myriad/commit/54fae7ff Tree: http://git-wip-us.apache.org/repos/asf/incubator-myriad/tree/54fae7ff Diff: http://git-wip-us.apache.org/repos/asf/incubator-myriad/diff/54fae7ff Branch: refs/heads/phase1 Commit: 54fae7ff94596f803f2c19cb02d606db828963c2 Parents: bbd6f30 Author: Brandon Gulla <bran...@brandongulla.com> Authored: Fri Aug 28 10:26:54 2015 -0400 Committer: Brandon Gulla <bran...@brandongulla.com> Committed: Fri Aug 28 10:26:54 2015 -0400 ---------------------------------------------------------------------- README.md | 1 + docker/README.md | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/54fae7ff/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 14dc4e6..c4c4241 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ The name _Myriad_ means, _countless or extremely great number_. In context of th * [How Myriad works](docs/how-it-works.md) * [Developing Myriad](docs/myriad-dev.md) +* [Deploying the Myriad Resource-Manger using Docker](docker/README.md) * [Local vagrant setup guide](docs/vagrant.md) * [Myriad REST API](docs/API.md) * [Auto-scaling YARN cluster](docs/control-plane-algorithm.md) http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/54fae7ff/docker/README.md ---------------------------------------------------------------------- diff --git a/docker/README.md b/docker/README.md index 0c62180..11e168b 100644 --- a/docker/README.md +++ b/docker/README.md @@ -6,7 +6,13 @@ ## Running the Resource Manager Docker -`docker run --name='myriad-resourcemanager' -t \ -v /path/to/yarn-site.xml:/myriad-conf/yarn-site.xml \ -v /path/to/myriad-config-default.yml:/myriad-conf/myriad-config-default.yml \ -e HADOOP_NAMENODE="10.100.3.237:9000" \ mesos/myriad-resourcemanager` +```bash +docker run --name='myriad-resourcemanager' -t \ + -v /path/to/yarn-site.xml:/myriad-conf/yarn-site.xml \ + -v /path/to/myriad-config-default.yml:/myriad-conf/myriad-config-default.yml \ + -e HADOOP_NAMENODE="10.100.3.237:9000" \ + mesos/myriad-resourcemanager + ``` ### Available Environment Variables You can also pass in custom values via docker run for the following env vars: