Skip to content

Commit fd51172

Browse files
authored
Merge branch 'main' into fix-contributing-guide
2 parents 9c723e6 + baa5e76 commit fd51172

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

docs/build-install/containers.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Its command-line interface (CLI) closely mirrors Docker’s, providing a consist
66

77
## Preliminary step: configuring Podman's storage
88

9-
The first step in order to use Podman on Alps is to create a valid Container Storage configuration file at `$HOME/.config/containers/storage.conf`, according to the following minimal template:
9+
The first step in order to use Podman on Alps is to create a valid Container Storage configuration file at `$HOME/.config/containers/storage.conf` (or `$XDG_CONFIG_HOME/containers/storage.conf`, if you have `$XDG_CONFIG_HOME` set), according to the following minimal template:
1010

1111
```toml
1212
[storage]
@@ -21,6 +21,14 @@ graphroot = "/dev/shm/$USER/root"
2121
The limitation of this approach is that container images created during a job allocation are deleted when the job ends.
2222
Therefore, the image needs to either be pushed to a container registry or imported by the Container Engine before the job allocation finishes.
2323

24+
You can use
25+
26+
```bash
27+
podman info | grep -A 2 "store:"
28+
```
29+
30+
to check that the correct `storage.conf` file is used by Podman (`store:configFile` field).
31+
2432
## Building images with Podman
2533

2634
The easiest way to build a container image is to rely on a Containerfile (a more generic name for a container image recipe, but essentially equivalent to Dockerfile):

docs/contributing/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ At the top of each page there is an "edit" icon :material-pencil:, which will op
187187

188188
Once your changes are ready, click on the "Commit changes..." button in the top right hand corner of the editor, and add at least a description commit message.
189189

190+
!!! tip
191+
See [the GitLab official guide on editing files](https://docs.github.com/en/repositories/working-with-files/managing-files/editing-files) for a step-by-step walkthrough.
192+
190193
!!! note
191194
You will need to keep the default option **Create a new branch for this commit and start a pull request**.
192195

0 commit comments

Comments
 (0)