Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: same name for definition and container #96

Merged
merged 2 commits into from
Jan 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions _episodes/05-definition-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@ Finally the `#` hash is used to include comments within the definition file.
- Step 3: Build the image

```bash
singularity build helloworld.sif hello-world.def
singularity build hello-world.sif hello-world.def
```

The `helloworld.sif` file specifies the name of the output file that is built when using the `singularity build` command.
The `hello-world.sif` file specifies the name of the output file that is built when using the `singularity build` command.

- Step 4: Run the image

```bash
./helloworld.sif
./hello-world.sif
```

### Deleting Singularity image
To delete the helloworld Singularity image, simply delete the `helloworld.sif` file.
To delete the hello-world Singularity image, simply delete the `hello-world.sif` file.

> Note that there is also a `singularity delete` command, but it is to delete an image from a remote library.
> To learn more about using remote endpoints and pulling and pushing images from or to libraries, read
Expand Down Expand Up @@ -114,10 +114,10 @@ To illustrate the functionality, we will just run [rf101_basics.py](https://root
from the RooFit tutorial.
* `%labels` add custom metadata to the container.

Save this definition file as `myUbuntu.def`. To build the container, just provide the definition file as argument
Save this definition file as `rootInUbuntu.def`. To build the container, just provide the definition file as argument
(executing as superuser):
```bash
singularity build rootInUbuntu.sif myUbuntu.def
singularity build rootInUbuntu.sif rootInUbuntu.def
```


Expand Down