aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-06-27 10:18:42 -0400
committerPamela Dragosh <pdragosh@research.att.com>2019-06-27 11:32:16 -0400
commita543605daba84253208c86d2e6691e8be84e1779 (patch)
tree438d60168358b4ac84cf13864881c9bddb2b6afa /docs
parente3fcf2d153bc82d4fdc78bbdecd4bab5f8ad1656 (diff)
Fix spacing for docker docs
Spacing was off so the text wasn't showing in the bash code block. Issue-ID: POLICY-1849 Change-Id: Ic904873b961f0f7580166d9fac30569cec651b11 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/installation/docker.rst44
1 files changed, 21 insertions, 23 deletions
diff --git a/docs/installation/docker.rst b/docs/installation/docker.rst
index bf6064f0..6a73b77d 100644
--- a/docs/installation/docker.rst
+++ b/docs/installation/docker.rst
@@ -18,15 +18,15 @@ The instructions here are based on the instructions in the file *~/git/onap/poli
.. code-block:: bash
-cd ~/git/onap/policy/api/packages
-mvn clean install -P docker
+ cd ~/git/onap/policy/api/packages
+ mvn clean install -P docker
**Step 2:** Build the Policy PAP Docker image
.. code-block:: bash
-cd ~/git/onap/policy/pap/packages
-mvn clean install -P docker
+ cd ~/git/onap/policy/pap/packages
+ mvn clean install -P docker
**Step 3:** Build the Drools PDP docker image.
@@ -34,8 +34,8 @@ This image is a standalone vanilla Drools engine, which does not contain any pre
.. code-block:: bash
-cd ~/git/onap/policy/drools-pdp/
-./docker_verify.sh
+ cd ~/git/onap/policy/drools-pdp/
+ ./docker_verify.sh
**Step 4:** Build the Drools Application Control Loop image.
@@ -43,37 +43,37 @@ This image has the drools use case application and the supporting software built
.. code-block:: bash
-cd ~/git/onap/policy/drools-applications
-chmod 755 controlloop/build/docker-cl
-controlloop/build/docker-cl --verify
+ cd ~/git/onap/policy/drools-applications
+ chmod 755 controlloop/build/docker-cl
+ controlloop/build/docker-cl --verify
**Step 5:** Build the Apex PDP docker image:
.. code-block:: bash
-cd ~/git/onap/policy/apex-pdp/packages/apex-pdp-docker/target
-docker build -t onap/policy-apex-pdp policy-apex-pdp
+ cd ~/git/onap/policy/apex-pdp/packages/apex-pdp-docker/target
+ docker build -t onap/policy-apex-pdp policy-apex-pdp
-**Step 5:** Build the XACML PDP docker image:
+**Step 6:** Build the XACML PDP docker image:
.. code-block:: bash
-cd ~/git/onap/policy/xacml-pdp/packages
-mvn clean install -P docker
+ cd ~/git/onap/policy/xacml-pdp/packages
+ mvn clean install -P docker
**Step 7:** Build the policy engine docker image (If working with the legacy Policy Architecture/API):
.. code-block:: bash
-cd ~/git/onap/policy/engine/
-./docker_verify.sh
+ cd ~/git/onap/policy/engine/
+ ./docker_verify.sh
**Step 8:** Build the Policy SDC Distribution docker image:
.. code-block:: bash
-cd ~/git/onap/policy/distribution/packages
-mvn clean install -Pdocker
+ cd ~/git/onap/policy/distribution/packages
+ mvn clean install -Pdocker
Starting the ONAP Policy Framework Docker Images
@@ -85,27 +85,25 @@ In order to run the containers, you can use *docker-compose*. This uses the *doc
.. code-block:: bash
-export MTU=9126
+ export MTU=9126
**Step 2:** Determine if you want policies pre-loaded or not. By default, all the configuration and operational policies will be pre-loaded by the docker compose script. If you do not wish for that to happen, then export this variable:
.. code-block:: bash
-export PRELOAD_POLICIES=false
+ export PRELOAD_POLICIES=false
**Step 3:** Run the system using *docker-compose*. Note that on some systems you may have to run the *docker-compose* command as root or using *sudo*. Note that this command takes a number of minutes to execute on a laptop or desktop computer.
.. code-block:: bash
-docker-compose up -d
+ docker-compose up -d
**You now have a full standalone ONAP Policy framework up and running!**
-
-
End of Document