Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
doc/tuto: docker make clear where commands run
[simgrid.git] / 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
 ............................