Skip to content

Commit 268aeff

Browse files
committed
updating bootstrap page
1 parent 8d3c86b commit 268aeff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pages/docs/user-docs/docs-bootstrap.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ When bootstrapping a container, it is best to consider the following:
1919
4. Ensure that the container's `/etc/passwd`, `/etc/group`, `/etc/shadow`, and no other sensitive files have anything but the bare essentials within them.
2020
5. Do all of your bootstrapping via a definition file instead of manipulating the containers by hand (with the `--writable` options), this ensures greatest possibility of reproducibility and mitigates the *black box effect*.
2121

22+
2223
## The Bootstrap Definition File
2324
There are multiple sections of the Singularity bootstrap definition file:
2425

@@ -133,5 +134,12 @@ You may choose to add a `%test` section to your definition file. This section wi
133134

134135
This is a simple Open MPI test to ensure that the MPI is build properly and communicates between processes as it should.
135136

137+
If you want to bootstrap without running tests, you can do so with the `--notest` argument:
138+
139+
```
140+
sudo singularity bootstrap --notest container.img Singularity
141+
```
142+
143+
This argument might be useful in cases where you might need hardware that is available during runtime, but is not available on the host that is building the image.
136144

137145
For further examples, we recommend you take a closer look at the [bootstrap command](/docs-bootstrap)

0 commit comments

Comments
 (0)