Skip to content

Commit 42a666d

Browse files
authored
Merge pull request #115 from vsoch/docs/2.4
Adding Docs/2.4 Image
2 parents 7e21d1d + 8c4bf0e commit 42a666d

45 files changed

Lines changed: 2535 additions & 1885 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_data/sidebars/main_sidebar.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ entries:
4747
url: /install-windows
4848
output: web, pdf
4949

50+
- title: Host a Singularity Registry
51+
url: /singularity-registry
52+
output: web, pdf
5053

5154
- title: Contributing
5255
output: web, pdf

_data/sidebars/user_docs.yml

Lines changed: 49 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,24 @@ entries:
1515
url: /user-guide
1616
output: web, pdf
1717

18-
- title: Quick Start Installation
19-
url: /docs-quick-start-installation
18+
- title: Installation
19+
url: /docs-installation
2020
output: web, pdf
2121

22-
- title: Create an Image
23-
url: /create-image
22+
- title: Quick Start
23+
url: /quickstart
2424
output: web, pdf
2525

26-
- title: Bootstrap an Image
27-
url: /bootstrap-image
26+
- title: Singularity Flow
27+
url: /docs-flow
2828
output: web, pdf
2929

30-
- title: Adding Content
31-
url: /image-content
30+
- title: Container Recipes
31+
url: /docs-recipes
3232
output: web, pdf
3333

34-
- title: Container Checks
35-
url: /docs-user-checks
36-
output: web, pdf
37-
38-
- title: User Control
39-
url: /user-control
34+
- title: Build an Image
35+
url: /docs-build
4036
output: web, pdf
4137

4238
- title: Bind Paths and Mounts
@@ -47,22 +43,22 @@ entries:
4743
url: /docs-instances
4844
output: web, pdf
4945

46+
- title: Container Checks
47+
url: /docs-user-checks
48+
output: web, pdf
49+
5050
- title: Environment and Metadata
5151
url: /docs-environment-metadata
5252
output: web, pdf
5353

54-
- title: Change an Existing Container
55-
url: /docs-changing-containers
54+
- title: Reproducible SCI-F Apps
55+
url: /docs-scif-apps
5656
output: web, pdf
5757

5858
- title: Singularity and Docker
5959
url: /docs-docker
6060
output: web, pdf
6161

62-
- title: Reproducible SCI-F Apps
63-
url: /docs-scif-apps
64-
output: web, pdf
65-
6662
- title: Troubleshooting
6763
url: /faq#troubleshooting
6864
output: web, pdf
@@ -75,22 +71,14 @@ entries:
7571
url: /docs-usage
7672
output: web, pdf
7773

78-
- title: bootstrap
79-
url: /docs-bootstrap
74+
- title: build
75+
url: /docs-build
8076
output: web, pdf
8177

8278
- title: exec
8379
url: /docs-exec
8480
output: web, pdf
8581

86-
- title: export
87-
url: /docs-export
88-
output: web, pdf
89-
90-
- title: import
91-
url: /docs-import
92-
output: web, pdf
93-
9482
- title: inspect
9583
url: /docs-inspect
9684
output: web, pdf
@@ -106,3 +94,34 @@ entries:
10694
- title: shell
10795
url: /docs-shell
10896
output: web, pdf
97+
98+
99+
- title: Image Commands
100+
output: web, pdf
101+
folderitems:
102+
103+
- title: image.export
104+
url: /docs-export
105+
output: web, pdf
106+
107+
- title: image.expand
108+
url: /docs-expand
109+
output: web, pdf
110+
111+
- title: image.import
112+
url: /docs-import
113+
output: web, pdf
114+
115+
- title: image.create
116+
url: /docs-create
117+
output: web, pdf
118+
119+
120+
- title: Deprecated
121+
output: web, pdf
122+
123+
folderitems:
124+
- title: bootstrap
125+
url: /docs-bootstrap
126+
output: web, pdf
127+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: "Singularity 2.4 Release"
3+
category: releases
4+
permalink: "release-2-4"
5+
version: "2.4"
6+
---
7+
8+
Singularity 2.4 is relesed, and here are the important notes for you to know about!
9+
10+
<img src="/assets/img/posts/releases/singularity-egg-easy.png">
11+
12+
13+
**Singularity Build**
14+
Building an image is now more intuitive with the introduction of our `build` command. You don't need to worry about using `create`, or `bootstrap`, you just build. It looks like this:
15+
16+
```
17+
sudo singularity build container.simg Singularity
18+
```
19+
20+
If you are tired of needing to estimate your image size, that issue goes away with build. The default format for a Singularity image base is now a smaller, compressed file format called **SquashFS**. This format is also a much better fit for reproducible containers, as it is immutable. For more details, see our [build](/docs-build) documentation.
21+
22+
**Build Bases**
23+
We originally supported just using an existing distribution package or docker as a base for building images. With 2.4, we have extended that set to include another Singularity image (`localimage`), a Singularity Hub or Registry image (`shub`) or the host operating system (`self`).
24+
25+
**Instance Support**
26+
Singularity now has support for instances, which means services! Images instances can be started, stopped, and listed. Along with instances comes **Network Namespace Isolation**. We are excited to see the kinds of use cases that this will afford for our users.
27+
28+
**Singularity Registry**
29+
If you want to host your own Registry, we listened and you are in luck! Singularity <a href="https://www.github.com/singularityhub/sregistry">Registry</a> is ready for your use, along with a <a href="https://singularityhub.github.io/containers">portal</a> for you to "register your registry" to make it easier to share your images. Singularity Hub, along with improved building and updated builders, will follow this release.
30+
31+
**Internal Modalarity**
32+
This release includes support for the <a href="/docs-apps">Standard Container Integration Format (SCI-F)</a> that makes it easy for you to produce single, internally modular and programmatically discoverage containers. More information is provided on it's <a href="https://containers-ftw.github.io/SCI-F/">main site</a>.
33+
34+
**Better Documentation**
35+
We've added an entire page on the different customizations you can do to the [build environment](/build-environment), including changing the cache and specifying credentials for Docker.
36+
37+
**Deprecated**
38+
We are deprecating the original `create` command to be replaced with `image.create`, along with `bootstrap` in favor with build. These commands will still work for 2.4, however we recommend you start testing the updated ones.
39+
40+
In addition, here are some tiny changes for your information!
41+
42+
- Persistent Overlay
43+
- Container checks
44+
- Tests for instance support
45+
- Wrapper for create
46+
- Group instance commands
47+
- Group image commands
48+
- Bash completion updates
49+
50+
For the full release announcement and downloads, please see <a target="_blank" href="https://github.com/singularityware/singularity/releases/tag/2.4">the release on Github</a>.
51+
52+
Wowee, way to go team, contributors, and the community! Please report any issues or questions that you might have to <a href="https://github.com/singularityware/singularity/issues/new" target="_blank">our issue board</a>.
53+
54+
Thank you!
342 KB
Loading
135 KB
Loading
84.9 KB
Loading

favicon.ico

1.12 KB
Binary file not shown.

index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ toc: false
99
Singularity enables users to have full control of their environment. Singularity containers can be used to package entire scientific workflows, software and libraries, and even data. This means that you don't have to ask your cluster admin to install anything for you - you can put it in a Singularity container and run. Did you already invest in Docker? The Singularity software can import your Docker images without having Docker installed or being a superuser. Need to share your code? Put it in a Singularity container and your collaborator won't have to go through the pain of installing missing dependencies. Do you need to run a different operating system entirely? You can "swap out" the operating system on your host for a different one within a Singularity container. As the user, you are in control of the extent to which your container interacts with its host. There can be seamless integration, or little to no communication at all. What does your workflow look like?
1010

1111

12-
<img style="max-width:900px" src="/assets/img/diagram/singularity-2.3-flow.png">
12+
<a href="/assets/img/diagram/singularity-2.4-flow.png" target="_blank" class="no-after">
13+
<img style="max-width:900px" src="/assets/img/diagram/singularity-2.4-flow.png">
14+
</a>
1315

14-
It's pretty simple. You can make and customize containers locally, and then run them on your shared resource. As of version 2.3, you can even import Docker image content without sudo permissions. Singularity also allows you to leverage the resources of whatever host you are on. This includes HPC interconnects, resource managers, file systems, GPUs and/or accelerators, etc. Singularity does this by enabling several key facets:
16+
It's pretty simple. You can make and customize containers locally, and then run them on your shared resource. As of version 2.3, you can even pull Docker image layers into a new Singularity image without sudo permissions. Singularity also allows you to leverage the resources of whatever host you are on. This includes HPC interconnects, resource managers, file systems, GPUs and/or accelerators, etc. Singularity does this by enabling several key facets:
1517

1618
* Encapsulation of the environment
1719
* Containers are image based

pages/docs/admin-docs/advanced-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ folder: docs
77

88
When Singularity is running via the SUID pathway, the configuration **must** be owned by the root user otherwise Singularity will error out. This ensures that the system administrators have direct say as to what functions the users can utilize when running as root. If Singularity is installed as a non-root user, the SUID components are not installed, and the configuration file can be owned by the user (but again, this will limit functionality).
99

10-
The Configuration file can be found at `$SYSCONFDIR/singularity/singularity.conf` and is generally self documenting but there are several things to pay special attention to:
10+
The Configuration file can be found at `$SYSCONFDIR/singularity/singularity.conf`. The template in the repository is located at `etc/singularity.conf`. It is generally self documenting but there are several things to pay special attention to:
1111

1212
## Parameters
1313

0 commit comments

Comments
 (0)