Update documentation

- Remove -p and -v flags from getting-started.rst docker run commands
- Add 'clone the forked repo' step to getting-started.rst
This commit is contained in:
WALTERS 2017-06-14 17:10:57 -05:00 committed by Alexis Rivera DeLa Torre
parent cb9a886983
commit 05ea659191
2 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@ To use this container, use these simple instructions:
::
docker run -d --name armada -p 8000:8000 -v ~/.kube/config:/root/.kube/config -v $(pwd)/examples/:/examples -v /tmp:/dev/log quay.io/attcomdev/armada:latest
docker run -d --name armada -v ~/.kube/config:/root/.kube/config -v $(pwd)/examples/:/examples quay.io/attcomdev/armada:latest
Manual Install
~~~~~~~~~~~~~~
@ -53,7 +53,7 @@ If you want to build the docker image, follow these steps:
::
docker build . -t <namespace>/armada
docker run -d --name armada -p 8000:8000 -v ~/.kube/config:/root/.kube/config -v $(pwd)/examples/:/examples <namespace>/armada
docker run -d --name armada -v ~/.kube/config:/root/.kube/config -v $(pwd)/examples/:/examples <namespace>/armada
Installation
------------
@ -116,4 +116,3 @@ Your output will look something like this:
:target: https://travis-ci.org/att-comdev/armada
.. |Doc Status| image:: https://readthedocs.org/projects/armada-helm/badge/?version=latest
:target: http://armada-helm.readthedocs.io/

View File

@ -8,13 +8,14 @@ Docker
To use the docker containter to develop:
1. Fork the [repo](http://github.com/att-comdev/armada)
2. After making changes push to repo and build from forked repo
2. Clone the forked repo
3. After making changes push to repo and build from forked repo
.. code-block:: bash
export repo="https://github.com/<forked-repo>/armada.git"
export branch="<branch>"
docker build . -p 8000:8000 -v ${HOME}/.kube/config:/root/.kube/config -t quay.io/attcomdev/armada:latest --build-arg REPO=$repo --build-arg VERSION=$branch
docker build . -t quay.io/attcomdev/armada:latest --build-arg REPO=$repo --build-arg VERSION=$branch
.. note::