Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

  1. Below you will find instructions with example commands to run.
  2. Commands to be run on your local machine will be marked with blue color.
  3. Commands to be run on the Gateway will be marked with green color.
  4. Commands to be run in the running container will be marked with red color.
  5. 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
    languagebash
    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
    languagebash
    scp login.eufus.eu:~g2tomz/public/imas-installer-20180921112143.tar.xz ./
    xzcat imas-installer-20180921112143.tar.xz | docker load
  • uDocker on Gateway:

    Code Block
    languagebash
    xzcat ~g2tomz/public/imas-installer-20180921112143.tar.xz | ~/.local/bin/udocker load

...

  • On the host machine, execute:

    Code Block
    languagebash
    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
    languagebash
    idsdump 1 1 equilibriumpf_active