Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e4b0e8e9 authored by Kevin Pouget's avatar Kevin Pouget Committed by GitHub
Browse files

Update exercices.md

parent 8bf0660d
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,9 @@ Preliminary setup ...@@ -6,8 +6,9 @@ Preliminary setup
Prepare and launch the docker container: Prepare and launch the docker container:
HOST_DIR=/home/kevin/gdb.py_debug_data/ # absolute path required ; create it manually before HOST_DIR=/$HOME/gdb.py_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 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 `~`: Then if you want to share the data with your host, work from `~/host`, otherwise stay in `~`:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment