...
For more information, check Get StartedDocker overview
uDocker
uDocker is "a basic user tool to execute simple docker containers in user space without requiring root privileges".
...
- IMAS version: 3.20.0
- UAL version: 3.8.3
- Kepler present
- FC2K not present yet
- Available on the Gateway:
~g2tomz/public/imas-installer-20180921112143.tar.xz
...
Important
- Below you will find instructions with example commands to run.
- Commands to be run on your local machine will be marked with blue color.
- Commands to be run on the Gateway will be marked with green color.
- Commands to be run in the running container will be marked with red color.
- The documentation covers usage of both Docker (running on your own computer) and uDocker (running on the Gateway). You do not have to follow both scenarios.
Installing container engine
- Docker on your own computer:
uDocker on Gateway:
Code Block language bash mkdir -p ~/.local/bin $ITMWORK/dot-udocker ln -s $ITMWORK/dot-udocker ~/.udocker curl https://raw.githubusercontent.com/indigo-dc/udocker/master/udocker.py > ~/.local/bin/udocker chmod u+rx ~/.local/bin/udocker echo "tmpdir='$ITMSCRATCH'" > ~/.udocker/udocker.conf ~/.local/bin/udocker install
Loading Docker image
Docker on your own compujter:
Code Block language bash scp login.eufus.eu:~g2tomz/public/imas-installer-20180921112143.tar.xz ./ xzcat imas-installer-20180921112143.tar.xz | docker load
uDocker on Gateway:
Code Block language bash xzcat ~g2tomz/public/imas-installer-20180921112143.tar.xz | ~/.local/bin/udocker load
...
On the host machine, execute:
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/
Check correctness of the results, on Gateway:
Code Block language bash idsdump 1 1 equilibriumpf_active