Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Codeblock
languagetext
themeMidnight
titleBeispiel: Ubuntu 20.04 Image herunterladen und einen Container daraus erstellen
student@mine:~/containers$ singularity pull ubuntu.sif library://ubuntu:20.04

...

Codeblock
languagetext
themeMidnight
titleBeispiel: Container lokal erkunden
# Start the container, and enter the shell
singularity shell ./ubuntu.sif

# Now check the operating system of the container, you would see Ubuntu
head /etc/os-release

# your user id inside container
whoami

# exit the container
exit


Codeblock
languagetext
themeMidnight
titleConvert the ubuntu.sif file into a Singularity sandbox
student@mine:~/containers$ singularity build --fakeroot --sandbox myubuntu ./ubuntu.sif


Codeblock
languagetext
themeMidnight
titleBeispiel: Container lokal erkunden





Nachdem der Container gebaut und auf das Cluster übertragen wurde, kann er mit den folgenden Befehlen gestartet werden.

...