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: docs/hpc/14_tutorial_apptainer/04_docker_images.mdx
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,19 @@
2
2
3
3
So far, we have used container images that are already available on Torch under `/share/apps/images`.
4
4
5
-
In practice, you may also want to run software that is not provided by the cluster. Apptainer can pull images directly from Docker registries and convert them into the Apptainer SIF format.
5
+
In practice, you may also want to run software that is not provided by the cluster. Apptainer can pull images directly from Docker registries and convert them into the Apptainer `SIF` format.
6
6
7
7
:::warning
8
-
9
-
Pulling container images can require significant network bandwidth and disk space. On Torch, image downloads should be performed on compute nodes rather than login nodes.:::
8
+
Pulling container images can require significant network bandwidth and disk space. On Torch, image downloads should be performed on compute nodes rather than login nodes.
9
+
:::
10
10
11
11
For example, we can pull an official PyTorch image from Docker Hub:
During the pull process, Apptainer downloads the Docker image layers and converts them into a single SIF image:
17
+
During the pull process, Apptainer downloads the Docker image layers and converts them into a single `SIF` image:
18
18
19
19
```bash
20
20
INFO: Converting OCI blobs to SIF format
@@ -24,8 +24,7 @@ INFO: Fetching OCI image...
24
24
INFO: Creating SIF file...
25
25
```
26
26
27
-
The output shows that Apptainer is downloading the Docker image layers and converting them into a single SIF image. Once the conversion completes, the resulting SIF file can be used without Docker.
28
-
When the command completes, a new image named `pytorch.sif` will be created in the current directory.
27
+
The output shows that Apptainer is downloading the Docker image layers and converting them into a single `SIF` image. Once the conversion completes, the resulting `SIF` file can be used without Docker. When the command completes, a new image named `pytorch.sif` will be created in the current directory.
0 commit comments