Versions Compared

Key

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

...

Code Block
languagebash
export WORK=/pfs/work/$USER
export SCRATCH=/pfs/scratch/$USER  mkdir -p ~/.local/bin ${WORK}/dot-udocker ${SCRATCH}
ln -s ${WORK}/dot-udocker/udocker ~/.udocker
 
curl -Lwget https://github.com/indigo-dc/udocker/releases/download/v11.3.4/udocker-1.3.4.tar.gz > udocker-1.3.4.tar.gz
tar zxvf udocker-1.3.4.tar.gz > ~/.local/bin/udocker-C ${WORK}/
chmod u+rx ~/.local/bin${WORK}/udocker
echo "tmpdir='${SCRATCH}'" > ~/.udocker/udocker.conf
~/.local/bin
 
#test udocker exec
${WORK}/udocker/udocker --help
 
#install
${WORK}/udocker/udocker install


Info
titleuDocker on other machines

The same steps can be repeated on other machines, including HPC or your local computer. Just change WORK and SCRATCH variables in the first two lines. Note, that SCRATCH will be used during import of new images and WORK will be used to store images and files on all running containers. Choose them wisely to accommodate possibly big amount of data.

...