From: msimonin Date: Mon, 4 Apr 2022 07:50:42 +0000 (+0200) Subject: doc/tuto: the container's name is simgrid X-Git-Tag: v3.32~321^2~4 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6c0f90ea1c7373c9c3caf6b14b43aa12470c0ab2?ds=sidebyside doc/tuto: the container's name is simgrid --- diff --git a/docs/source/Tutorial_Algorithms.rst b/docs/source/Tutorial_Algorithms.rst index 5b52fe1e3e..19d83f76bc 100644 --- a/docs/source/Tutorial_Algorithms.rst +++ b/docs/source/Tutorial_Algorithms.rst @@ -398,10 +398,9 @@ If you need to run a command as root within the container, simply type the follo $ docker container ls # This lists all containers running on your machine. For example: # CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES - # 7e921b1b18a7 simgrid/stable "bash" 7 minutes ago Up 7 minutes adoring_shamir - - $ docker exec --user 0:0 -it {container_name} bash - # In the previous example, container_name was "adoring_shamir" + # 7e921b1b18a7 simgrid/stable "bash" 7 minutes ago Up 7 minutes simgrid + + $ docker exec --user 0:0 -it simgrid bash The code template is available under ``/source/simgrid-template-s4u.git`` in the image. You should copy it to your working directory and