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
apptainer exec -B pgdata:/var/lib/postgresql/data -B pgrun:/var/run/postgresql
-e -C --env-file pg.env postgres_15-bookworm.sif process_fms_uploads.sh -h
/var/run/postgresql:5432 - accepting connections
usage: popreport.sh [options]
-i <indir> - Name of the incoming directory
-l <logfile> - Name of the logfile
-u <user> - user who runs the jobs
-g <group> - group of user, who runs the jobs
-a <apiishome> - value of APIIS_HOME
-p <project dir> - output directory
Actual behavior
Entrypoint is not executed but only the command "pg_isready" is executed and the entrypoint of the PostgreSQL service is apparently skipped.
yum info apptainer
Last metadata expiration check: 0:01:35 ago on Wed 06 Mar 2024 14:25:41 CET.
Installed Packages
Name : apptainer
Version : 1.2.5
Release : 1.el8
Architecture : x86_64
Size : 116 M
Source : apptainer-1.2.5-1.el8.src.rpm
Repository : @System
From repo : epel
Summary : Application and environment virtualization formerly known as Singularity
URL : https://apptainer.org
License : BSD and LBNL BSD and ASL 2.0
Description : Apptainer provides functionality to make portable
: containers that can be used across host environments.
The text was updated successfully, but these errors were encountered:
I'm a little confused because in the first examples above you are using the exec command but then in the steps to reproduce you are using the run command. The Docker entrypoint should be copied into the container runscript which only gets triggered by the run or instance run commands. So if you want the entrypoint to run, you should use one of those.
Alternatively you could probably have your own script invoke the runscript. That is, use exec to run your script and let it first call /singularity.d/runscript.
Version of Apptainer
What version of Apptainer (or Singularity) are you using? Run
apptainer --version
(orsingularity --version
).We are running
apptainer version 1.2.5-1.el8
Expected behavior
Run the default entrypoint of the PostgreSQL apptainer container additionally to my own command/bash script.
or
Actual behavior
Entrypoint is not executed but only the command "pg_isready" is executed and the entrypoint of the PostgreSQL service is apparently skipped.
Steps to reproduce this behavior
What OS/distro are you running
How did you install Apptainer
The text was updated successfully, but these errors were encountered: