Skip to content

Commit b48b107

Browse files
committed
Reference
1 parent 9c1aaae commit b48b107

File tree

1 file changed

+28
-29
lines changed

1 file changed

+28
-29
lines changed

docs/tools/container-engine.md

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -662,42 +662,41 @@ The container image to use. Can reference a remote Docker/OCI registry or a loca
662662
<details>
663663
<summary>Notes</summary>
664664
665-
The full format for remote references is [USER@][REGISTRY#]IMAGE[:TAG].
666-
* [REGISTRY#] : (optional) registry URL, followed by #. Default: Docker Hub.
667-
* IMAGE : image name.
668-
* [:TAG] : (optional) image tag name, preceded by :.
669-
670-
The registry user can also be specified in the $HOME/.config/enroot/.credentials file.
665+
* The full format for remote references is [USER@][REGISTRY#]IMAGE[:TAG].
666+
* [REGISTRY#] : (optional) registry URL, followed by #. Default: Docker Hub.
667+
* IMAGE : image name.
668+
* [:TAG] : (optional) image tag name, preceded by :.
669+
* The registry user can also be specified in the $HOME/.config/enroot/.credentials file.
671670
</details>
672671
673-
<details>
674-
<summary>Examples</summary>
672+
<details>
673+
<summary>Examples</summary>
675674
676-
* Reference of Ubuntu image in the Docker Hub registry (default registry)
677-
```bash
678-
image = "library/ubuntu:24.04"
679-
```
675+
* Reference of Ubuntu image in the Docker Hub registry (default registry)
676+
```bash
677+
image = "library/ubuntu:24.04"
678+
```
680679
681-
* Explicit reference of Ubuntu image in the Docker Hub registry
682-
```bash
683-
image = "docker.io#library/ubuntu:24.04"
684-
```
680+
* Explicit reference of Ubuntu image in the Docker Hub registry
681+
```bash
682+
image = "docker.io#library/ubuntu:24.04"
683+
```
685684
686-
* Reference to PyTorch image from NVIDIA Container Registry (nvcr.io)
687-
```bash
688-
image = "nvcr.io#nvidia/pytorch:22.12-py3"
689-
```
685+
* Reference to PyTorch image from NVIDIA Container Registry (nvcr.io)
686+
```bash
687+
image = "nvcr.io#nvidia/pytorch:22.12-py3"
688+
```
690689
691-
* Image from third-party quay.io registry
692-
```bash
693-
image = "quay.io#madeeks/osu-mb:6.2-mpich4.1-ubuntu22.04-arm64"
694-
```
690+
* Image from third-party quay.io registry
691+
```bash
692+
image = "quay.io#madeeks/osu-mb:6.2-mpich4.1-ubuntu22.04-arm64"
693+
```
695694
696-
* Reference to a manually pulled image stored in parallel FS
697-
```bash
698-
image = "/path/to/image.squashfs"
699-
```
700-
</details>
695+
* Reference to a manually pulled image stored in parallel FS
696+
```bash
697+
image = "/path/to/image.squashfs"
698+
```
699+
</details>
701700
702701
workdir
703702

0 commit comments

Comments
 (0)