From 9de56b3db45cf849eca050176d3dd66e01450f70 Mon Sep 17 00:00:00 2001
From: Michael Blaschek <michael.blaschek@univie.ac.at>
Date: Wed, 24 Nov 2021 11:17:40 +0000
Subject: [PATCH] Update HandsOn.md

---
 workshop/HandsOn.md | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/workshop/HandsOn.md b/workshop/HandsOn.md
index 15fa8d5..14b990c 100644
--- a/workshop/HandsOn.md
+++ b/workshop/HandsOn.md
@@ -293,8 +293,22 @@ In order to include host paths into your container use the `SINGULARITY_BIND` va
 
 e.g.
 ```bash
-# Binding /data on host to /mnt inside
-singularity exec --bind /data:/mnt my_container.sif ls /mnt
+# Directory does not exist by default
+singularity exec my_container.sif ls /data
+ls: cannot access '/data': No such file or directory
+# Binding /data on host to /data inside
+singularity exec --bind /data:/data my_container.sif ls /data
+log.txt
+```
+
+or using the environment variables:
+
+```bash
+# on the HOST system
+export SINGULARITY_BIND=/data:/data
+# execute singularity with no --bind options
+singularity exec my_container.sif ls /data
+log.txt
 ```
 
 
-- 
GitLab