To start, refer to the /pesq/share/das/dist/carlos.bastarz/GSITutorialDTC/tutorial/01.ARWPracticeCases/Docker/README.GSI_Docker manual.

Basically, you are going to download the GSI Docker container and from there, follow the test cases in the /pesq/share/das/dist/carlos.bastarz/GSITutorialDTC/tutorial/01.ARWPracticeCases directory. Bear in mind that some of the instructions provided in the manuals may not work as is and some tweaks are necessary to get things working, depending on your machine. The original DTC tutorial is made for users on the Chayenne machine.

NOTES:

To fix permission problems when running docker:

$ sudo usermod -aG docker $USER --> this should be run by the admin
$ newgrp docker --> this should be run by the user

In order to run and save modifications when running the container, create a docker volume and use it to save your files. This is pretty much like inserting a thumb drive in your computer and working on it.

So, before running the script "rungsidocker", do as follows:

1. Create a volume (you can create as many volumes you want and you can resuse them):
$ docker volume create gsi_tutorial

2. Edit the script "rungsidocker" to use the volume create.
$ docker run -h GSI-Docker -it -w /home/comgsi -v gsi_tutorial:/home/comgsi comgsi/docker

carlos.bastarz@inpe.br (26/07/2024)
