diff --git a/home/exercices.md b/home/exercices.md index 1ea2adaf1a1889acb5fef1a757ec7a300ac0ab8c..d6d3a782010f5cf5f20885bedd1817377aafa1a0 100644 --- a/home/exercices.md +++ b/home/exercices.md @@ -6,8 +6,9 @@ Preliminary setup Prepare and launch the docker container: - HOST_DIR=/home/kevin/gdb.py_debug_data/ # absolute path required ; create it manually before - docker run -it -v $HOST_DIR:/home/gdb.py/host -e GROUPID=$(id -g) -e USERID=$(id -u) --cap-add sys_ptrace kpouget/tuto-gdb.py + HOST_DIR=/$HOME/gdb.py_data/ # absolute path required ; create it manually before + DOCKER_OPT="-v $HOST_DIR:/home/gdb.py/host -e GROUPID=$(id -g) -e USERID=$(id -u) --cap-add sys_ptrace" + docker run -it $DOCKER_OPT kpouget/tuto-gdb.py Then if you want to share the data with your host, work from `~/host`, otherwise stay in `~`: