From cb9b8b175d89126457fd6e992f34efa228a22bea Mon Sep 17 00:00:00 2001 From: Cresson Remi <remi.cresson@irstea.fr> Date: Tue, 12 Sep 2023 21:41:37 +0200 Subject: [PATCH] Update doc/docker_troubleshooting.md --- doc/docker_troubleshooting.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/docker_troubleshooting.md b/doc/docker_troubleshooting.md index c34b7d2..4aa0d50 100644 --- a/doc/docker_troubleshooting.md +++ b/doc/docker_troubleshooting.md @@ -52,13 +52,13 @@ sudo service docker {status,enable,disable,start,stop,restart} Run a simple command in a one-shot container: ```bash -docker run mdl4eo/otbtf:3.4.0-cpu otbcli_PatchesExtraction +docker run mdl4eo/otbtf:4.2.0-cpu otbcli_PatchesExtraction ``` You can also use the image in interactive mode with bash: ```bash -docker run -ti mdl4eo/otbtf:3.4.0-cpu bash +docker run -ti mdl4eo/otbtf:4.2.0-cpu bash ``` ### Mounting file systems @@ -70,7 +70,7 @@ to use inside the container: The following command shows you how to access the folder from the docker image. ```bash -docker run -v /mnt/disk1/:/data/ -ti mdl4eo/otbtf:3.4.0-cpu bash -c "ls /data" +docker run -v /mnt/disk1/:/data/ -ti mdl4eo/otbtf:4.2.0-cpu bash -c "ls /data" ``` Beware of ownership issues! see the last section of this doc. @@ -81,7 +81,7 @@ any directory. ```bash docker create --interactive --tty --volume /home/$USER:/home/otbuser/ \ - --name otbtf mdl4eo/otbtf:3.4.0-cpu /bin/bash + --name otbtf mdl4eo/otbtf:4.2.0-cpu /bin/bash ``` !!! warning @@ -160,7 +160,7 @@ automatically pull image ```bash docker create --interactive --tty --volume /home/$USER:/home/otbuser \ - --name otbtf mdl4eo/otbtf:3.4.0-cpu /bin/bash + --name otbtf mdl4eo/otbtf:4.2.0-cpu /bin/bash ``` Start a background container process: -- GitLab