You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/docs/user-docs/docs-export.md
-20Lines changed: 0 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,23 +7,3 @@ folder: docs
7
7
---
8
8
9
9
Export is a way to dump the contents of your container into a .tar.gz, or a stream to put into some other place. For example, you could stream this into an in memory tar in python.
Copy file name to clipboardExpand all lines: pages/docs/user-docs/docs-import.md
-39Lines changed: 0 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,42 +7,3 @@ folder: docs
7
7
---
8
8
9
9
Singularity import is essentially taking a dump of files and folders and adding them to your image. This works for local compressed things (e.g., tar.gz) but also for docker image layers that you don't have on your system. As of version 2.3, import of docker layers includes the environment and metadata without needing sudo.
10
-
11
-
## Usage
12
-
13
-
```bash
14
-
USAGE: singularity [...] import <container path> [import from URI]
15
-
16
-
Import takes a URI and will populate a container with the contents of
17
-
the URI. If no URI is given, import will expect an incoming tar pipe.
18
-
19
-
The size of the container you need to create to import a complete system
20
-
may be significantly larger than the size of the tar file/stream due to
21
-
overheads of the container filesystem.
22
-
23
-
SUPPORTED URIs:
24
-
25
-
http/https: Pull an image using curl over HTTPD
26
-
docker: Pull an image from the Docker repository
27
-
shub: Pull an image from Singularity Hub
28
-
file: Use a local file (same as just passing local path)
Singularity differs from Docker in that we serve entire images, as opposed to layers. This means that pulling a Singularity Hub means downloading the entire (compressed) container file, and then having it extract on your local machine. The basic command is the following:
0 commit comments