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
It seems on lxplus9 that apptainer is able to run a container image from Docker Hub at first just fine, but if the Singularity/Apptainer variables are set to be able to acces private CERN GitLab container registries then this causes apptainer to fail when trying to interact with DockerHub images.
Example:
$ ssh lxplus9.cern.ch[feickert@lxplus916 ~]$ export APPTAINER_CACHEDIR="/tmp/${USER}/singularity"[feickert@lxplus916 ~]$ export SINGULARITY_CACHEDIR="${APPTAINER_CACHEDIR}"[feickert@lxplus916 ~]$ mkdir -p "${APPTAINER_CACHEDIR}"[feickert@lxplus916 ~]$ apptainer exec -C docker://eschanet/docker_pyhf:v0.2 bashINFO: Converting OCI blobs to SIF formatINFO: Starting build......INFO: Creating SIF file...Apptainer>Apptainer> pyhf --versionpyhf, version 0.5.3Apptainer> exitexit[feickert@lxplus916 ~]$
[feickert@lxplus916 ~]$ export APPTAINER_DOCKER_USERNAME=#secret[feickert@lxplus916 ~]$ export APPTAINER_DOCKER_PASSWORD=#secret[feickert@lxplus916 ~]$ apptainer exec -C docker://eschanet/docker_pyhf:v0.2 bashFATAL: Unable to handle docker://eschanet/docker_pyhf:v0.2 uri: failed to get checksum for docker://eschanet/docker_pyhf:v0.2: unable to retrieve auth token: invalid username/password: unauthorized: incorrect username or password[feickert@lxplus916 ~]$ unset APPTAINER_DOCKER_USERNAME[feickert@lxplus916 ~]$ unset APPTAINER_DOCKER_PASSWORD[feickert@lxplus916 ~]$ apptainer exec -C docker://eschanet/docker_pyhf:v0.2 bashINFO: Using cached SIF imageApptainer> exitexit[feickert@lxplus916 ~]$
So I'm not sure how to work around this for people that want to test on lxplus but then use images from both private CERN GitLab container registries as well as public Docker Hub.
It seems on lxplus9 that
apptainer
is able to run a container image from Docker Hub at first just fine, but if the Singularity/Apptainer variables are set to be able to acces private CERN GitLab container registries then this causesapptainer
to fail when trying to interact with DockerHub images.Example:
So I'm not sure how to work around this for people that want to test on lxplus but then use images from both private CERN GitLab container registries as well as public Docker Hub.
This will affect https://gitlab.cern.ch/recast-atlas/susy/ana-susy-2019-08.
The text was updated successfully, but these errors were encountered: