...
Info | ||
---|---|---|
| ||
To ensure a default environment for the following exercise, reset your modules with:
No Format module reset
The default psql command, part of the PostgreSQL package is not up to date. You need to run the latest version, but you do not want to build it from source. A possible solution is to use a containerised version of this application. Can you run this on Atos HPCF or ECS?
Expand title Solution You can use Apptainer to run docker or any OCI-compatible container images. We can use the official postgres container image from DockerHub:
No Format module load apptainer apptainer exec docker://postgres:latest psql --version
You can also download the image and run it directly later with:
No Format apptainer pull docker://postgres:latest ./postgres_latest.sif psql --version