From 707cf14fab2f51c672cccf4e6cd8a957a6512897 Mon Sep 17 00:00:00 2001 From: Jozef Mlich Date: Fri, 8 Mar 2019 18:06:08 +0100 Subject: [PATCH] add bind mount to reach images easier --- DockerFiles/ubuntu_16.04/build_labelme_image.sh | 0 DockerFiles/ubuntu_16.04/start_labelme_container.sh | 2 ++ 2 files changed, 2 insertions(+) mode change 100644 => 100755 DockerFiles/ubuntu_16.04/build_labelme_image.sh mode change 100644 => 100755 DockerFiles/ubuntu_16.04/start_labelme_container.sh diff --git a/DockerFiles/ubuntu_16.04/build_labelme_image.sh b/DockerFiles/ubuntu_16.04/build_labelme_image.sh old mode 100644 new mode 100755 diff --git a/DockerFiles/ubuntu_16.04/start_labelme_container.sh b/DockerFiles/ubuntu_16.04/start_labelme_container.sh old mode 100644 new mode 100755 index 0142d501..3bcfb967 --- a/DockerFiles/ubuntu_16.04/start_labelme_container.sh +++ b/DockerFiles/ubuntu_16.04/start_labelme_container.sh @@ -1,6 +1,8 @@ #!/bin/bash docker run \ +--mount type=bind,source="$(pwd)"/../../Annotations,target=/var/www/html/LabelMeAnnotationTool/Annotations \ +--mount type=bind,source="$(pwd)"/../../Images,target=/var/www/html/LabelMeAnnotationTool/Images \ --name labelme \ -p 8080:80 \ -d \