Versions Compared

Key

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

...

Loading Docker image

  • Docker on your own compujter:

    Code Block
    languagebash
    xzcat 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

Demonstration 1: Python script

  • Create a container and start a shell in it:

    • Docker on your own computer:

    Start a new Docker container
    • Code Block
      languagebash
      docker run --interactive --tty --name imas imas-installer:20180921112143
    • uDocker on Gateway:

      Code Block
      languagebash
      ~/.local/bin/udocker create --name=imas imas-installer:20180921112143
      ~/.local/bin/udocker run imas
  • In the container shell, execute:

    Code Block
    languagebash
    module load imas
    imasdb test
    python /home/imas/imas-installer/src/$IMAS_VERSION/ual/$UAL_VERSION/examples/dd-v3/python/put_pf.py

...