Skip to content

Commit 02c09d8

Browse files
ColonelPanicsvsoch
authored andcommitted
Fixed Docker bootstrap capitalisation, added example bootstrap command (#86)
1 parent 42b4939 commit 02c09d8

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

pages/docs/overview/start.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ party_dinosaur.gif
104104
For a reproducible container, the recommended practice is to build by way of a bootstrap file. This also makes it easy to add files, environment variables, and install custom software, and still start from your bootstrap of source (e.g., Docker). Here is what a basic bootstrap file looks like for Singularity 2.3:
105105

106106
```bash
107-
Bootstrap: Docker
107+
Bootstrap: docker
108108
From: ubuntu:latest
109109
110110
%runscript
@@ -130,4 +130,10 @@ mkdir /data
130130
echo "The post section is where you can install, and configure your container."
131131
```
132132

133+
The above bootstrap definition can then be run with singularity. Assuming that the definition was saved as `ubuntu.def` and an image file `ubuntu.img` exists, the following will build the container.
134+
135+
```bash
136+
singularity bootstrap ubuntu.img ubuntu.def
137+
```
138+
133139
{% include links.html %}

0 commit comments

Comments
 (0)