Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
doc/tuto: docker make clear where commands run
authormsimonin <matthieu.simonin@inria.fr>
Mon, 4 Apr 2022 07:56:13 +0000 (09:56 +0200)
committermsimonin <matthieu.simonin@inria.fr>
Mon, 4 Apr 2022 07:56:13 +0000 (09:56 +0200)
docs/source/Tutorial_Algorithms.rst

index 0f7c379..e2bb116 100644 (file)
@@ -408,10 +408,12 @@ recompile it when you first log in:
 
 .. code-block:: console
 
-   $ cp -r /source/simgrid-template-s4u.git/* /source/tutorial
-   $ cd /source/tutorial
-   $ cmake .
-   $ make
+   $ # first connect to the running container
+   $ docker exec --user $UID:$GID -ti simgrid bash
+   $container) cp -r /source/simgrid-template-s4u.git/* /source/tutorial
+   $container) cd /source/tutorial
+   $container) cmake .
+   $container) make
 
 Using your Computer Natively
 ............................