Add initial codes
[it/test.git] / test_scripts / e2adapter / run_e2adapter_interactive
diff --git a/test_scripts/e2adapter/run_e2adapter_interactive b/test_scripts/e2adapter/run_e2adapter_interactive
new file mode 100644 (file)
index 0000000..78c75e2
--- /dev/null
@@ -0,0 +1,6 @@
+docker run --rm -it \
+    -v /etc/e2adapter:/etc/e2adapter            `# Bind-mount the configuration directory` \
+    -v /var/log/e2adapter:/var/log/e2adapter    `# Bind-mount the log directory` \
+    --network host                              `# Get all sockets working the "easy" way` \
+    --name e2adapter \
+    ranco-dev-tools.eastus.cloudapp.azure.com:10001/e2adapter:1.0.0 sh -c "/bin/bash"