...
Alternativ ist es möglich den Container mittels eines Remote Builders in der Sylabs Cloud zu bauen. Hierfür wird ein entsprechender Account benötigt.
Download pre-built image
Es gibt jede Menge fertige Images, welche später angepasst werden können.
Codeblock | ||||||
---|---|---|---|---|---|---|
| ||||||
student@mine:~/containers$ singularity pull ubuntu.sif library://ubuntu:20.04 |
...
Codeblock | ||||||
---|---|---|---|---|---|---|
| ||||||
# Start#Check the operating system of the host, you should see CentOS head /etc/os-release #Start the container, and enter the shell singularity shell ./ubuntu.sif #Now# Now check the operating system of the container, you would see Ubuntu head /etc/os-release #List the root directory of the container, can you tell which are from the host? which are from the container? ls -l / #List the home directory in the Container, you should see a single user which is you. ls -l /home #your# your user id inside container whoami #exit # exit the container exit |
Nachdem der Container gebaut und auf das Cluster übertragen wurde, kann er mit den folgenden Befehlen gestartet werden.
...