aboutsummaryrefslogtreecommitdiffstats
path: root/docker/dmm_image/README.md
diff options
context:
space:
mode:
authorrainbow_0206 <jiangwenjiang@huawei.com>2018-09-18 19:44:10 +0800
committerrainbow_0206 <jiangwenjiang@huawei.com>2018-10-09 17:37:51 +0800
commit4e55a678ccc492a3f6375a0b5331e42d35332d13 (patch)
treeda11dc93bf4ceadf8caa01dab8d6220de7760ebd /docker/dmm_image/README.md
parent2827d26800e19858d4a9856c8a8f977a273f9910 (diff)
Feat: build docker image for centos
Change-Id: Icc0bc6aa8aed71d95c1b989710ca1bcfb04ea261 Signed-off-by: rainbow_0206 <jiangwenjiang@huawei.com>
Diffstat (limited to 'docker/dmm_image/README.md')
-rw-r--r--docker/dmm_image/README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docker/dmm_image/README.md b/docker/dmm_image/README.md
new file mode 100644
index 0000000..0b674b2
--- /dev/null
+++ b/docker/dmm_image/README.md
@@ -0,0 +1,13 @@
+# How to build the image of dmm
+Note: Make sure your computer can connect to the network
+```sh
+ #cd dmm/docker/dmm_image/centos
+ #docker build -t "dmm:tag" .
+```
+
+# How to use the image of dmm
+```sh
+ #docker run -i -t --network=host -v /sys/bus/pci/devices:/sys/bus/pci/devices -v /sys/devices/system/node:/sys/devices/system/node -v /mnt/nstackhuge:/mnt/nstackhuge -v /dev:/dev --privileged dmm:tag /bin/bash
+```
+
+Then we will enter a container and we can build dmm and run the app.