...
Demonstration 2: Kepler workflow
Create a container and start a shell in it:
Docker on your own computer:
Code Block language bash docker run --interactive --tty --name imas imas/fc2k
uDocker on Gateway:
Code Block language bash ~/.local/bin/udocker create --name=imas imas/fc2k ~/.local/bin/udocker run imas
Transfer the Kepler workflow into the container
Docker on your own computer:
Code Block scp login.eufus.eu:~g2tomz/public/simple-workflow.xml ./ docker cp simple-workflow.xml imas:simple-workflow.xml
uDocker on Gateway:
Code Block cp ~g2tomz/public/simple-workflow.xml ~/.udocker/containers/imas/ROOT/home/imas/
In the container shell, execute:
Code Block language bash kepler -runwf -nogui -user imas /home/imas/simple-workflow.xml
Transfer the results to the Gateway:
Docker on your own computer:
Code Block language bash docker cp imas:/home/imas/public/imasdb/test/3/0/ids_10001.characteristics /tmp/ docker cp imas:/home/imas/public/imasdb/test/3/0/ids_10001.datafile /tmp/ docker cp imas:/home/imas/public/imasdb/test/3/0/ids_10001.tree /tmp/ scp /tmp/ids_10001.* login.eufus.eu:public/imasdb/test/3/0/
uDocker on Gateway:
Code Block language bash cp ~/.udocker/containers/imas/ROOT/home/imas/public/imasdb/test/3/0/ids_10001.* ~/public/imasdb/test/3/0/
...