Skip to content

Commit 9360158

Browse files
committed
Fix quick start
1 parent 0b6786c commit 9360158

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

docs/software/container-engine.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -46,33 +46,32 @@ Use Slurm in the cluster login node to start the environment above:
4646
$ srun --environment=ubuntu --pty bash
4747
```
4848

49-
!!! example "Launching a containerized environment"
50-
The terminal snippet below demonstrates how to launch a containerized environment using Slurm with the `--environment` option.
51-
Click on the :fontawesome-solid-circle-plus: icon for information on each command.
49+
The terminal snippet below demonstrates how to launch a containerized environment using Slurm with the `--environment` option.
50+
Click on the :fontawesome-solid-circle-plus: icon for information on each command.
5251

53-
```console
54-
[daint-ln002]$ srun --environment=ubuntu --pty bash # (1)
52+
```console
53+
[daint-ln002]$ srun --environment=ubuntu --pty bash # (1)
5554

56-
[nid005333]$ pwd # (2)
57-
/capstor/scratch/cscs/<username>
55+
[nid005333]$ pwd # (2)
56+
/capstor/scratch/cscs/<username>
5857

59-
[nid005333]$ cat /etc/os-release # (3)
60-
PRETTY_NAME="Ubuntu 24.04 LTS"
61-
NAME="Ubuntu"
62-
VERSION_ID="24.04"
63-
...
58+
[nid005333]$ cat /etc/os-release # (3)
59+
PRETTY_NAME="Ubuntu 24.04 LTS"
60+
NAME="Ubuntu"
61+
VERSION_ID="24.04"
62+
...
6463

65-
[nid005333]$ exit # (4)
66-
[daint-ln002]$
67-
```
64+
[nid005333]$ exit # (4)
65+
[daint-ln002]$
66+
```
6867

69-
1. Starting an interactive shell session within the Ubuntu 24.04 container deployed on a compute node using `srun --environment=ubuntu --pty bash`.
70-
2. Check the current folder (dubbed _the working directory_) is set to the user's scratch folder, as per EDF.
71-
3. Show the OS version of your container (using `cat /etc/os-release`) based on Ubuntu 24.04 LTS.
72-
4. Exiting the container (`exit`), returning to the login node.
68+
1. Starting an interactive shell session within the Ubuntu 24.04 container deployed on a compute node using `srun --environment=ubuntu --pty bash`.
69+
2. Check the current folder (dubbed _the working directory_) is set to the user's scratch folder, as per EDF.
70+
3. Show the OS version of your container (using `cat /etc/os-release`) based on Ubuntu 24.04 LTS.
71+
4. Exiting the container (`exit`), returning to the login node.
7372

74-
!!! note
75-
CE pulls the image automatically when the container starts.
73+
!!! note
74+
CE pulls the image automatically when the container starts.
7675

7776
## Running containerized environments
7877

0 commit comments

Comments
 (0)