summaryrefslogtreecommitdiffstats
path: root/auth/docker/agent.sh
diff options
context:
space:
mode:
authorvarun gudisena <vg411h@att.com>2018-07-12 18:02:57 +0000
committerGerrit Code Review <gerrit@onap.org>2018-07-12 18:02:57 +0000
commit9af4623faed6fd0bda1567cbf28899b5b5363be0 (patch)
treee55c0eaf5f724ddda3b7050760de137155874a35 /auth/docker/agent.sh
parent656c303eeb020d0763996a71d8a9705357013eb6 (diff)
parent9ec2895301056a9e8967eadb139e56f03776fe26 (diff)
Merge "Configuration Agent and MS for AAF"
Diffstat (limited to 'auth/docker/agent.sh')
-rw-r--r--auth/docker/agent.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/auth/docker/agent.sh b/auth/docker/agent.sh
new file mode 100644
index 00000000..68027947
--- /dev/null
+++ b/auth/docker/agent.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+. ./d.props
+docker run \
+ -it \
+ --mount 'type=volume,src=aaf_config,dst=/opt/app/osaaf,volume-driver=local' \
+ --name aaf_agent_$USER \
+ ${ORG}/${PROJECT}/aaf_config:${VERSION} \
+ /bin/bash $*
+docker container rm aaf_agent_$USER > /dev/null