summaryrefslogtreecommitdiffstats
path: root/examples/docker/start_hc2vpp_container.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docker/start_hc2vpp_container.sh')
-rwxr-xr-xexamples/docker/start_hc2vpp_container.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/docker/start_hc2vpp_container.sh b/examples/docker/start_hc2vpp_container.sh
new file mode 100755
index 000000000..820fa021d
--- /dev/null
+++ b/examples/docker/start_hc2vpp_container.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# Create & start container
+# $1 - container name
+docker run -dt --privileged --name=$1 hc2vpp
+docker start $1