Singularity: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 112: Line 112:
<pre>Bootstrap: self
<pre>Bootstrap: self
Exclude: /boot /dev /home /lost+found /media /mnt /opt /proc /run /sys</pre>
Exclude: /boot /dev /home /lost+found /media /mnt /opt /proc /run /sys</pre>
is placed in a file, e.g., <code>copy-drive-into-container-recipe</code>, then it can be used to copy one's Linux system directly into a Singularity container image file (except for the excluded directories listed) by running:
is placed in a file, e.g., <code>copy-drive-into-container-recipe</code>, then it can be used to copy an image of your Linux system into a Singularity container (except for the excluded directories listed) by running:
<source lang="console">$ sudo singularity build self.simg copy-drive-into-container-recipe</source>
<source lang="console">$ sudo singularity build self.simg copy-drive-into-container-recipe</source>
(Clearly such has to be run on your own Linux system and Singularity must already be installed on that system.)
(Clearly such has to be run on your own Linux system and Singularity must already be installed on that system.)
rsnt_translations
56,430

edits

Navigation menu