I can’t login to azure from a script executed on a docker executor.
It all started the moment it switched to the new V2 container runtime.
I would like to paste you a link to the job but I I can’t publish the message if I include a link.
I can’t login to azure from a script executed on a docker executor.
It all started the moment it switched to the new V2 container runtime.
I would like to paste you a link to the job but I I can’t publish the message if I include a link.
Hi @DominicLavery
Right…
Org: OpusCapita
Project: eproc-line-deployment
Job number: 33966
Thanks @WojciechS
I see that there is a warning in the script just before the failure which says
[WARNING] Skipping az-login.sh execution, it will be run only inside Docker container because it can override local user's settings
By any chance, does this look for /.dockerenv
to detect it is running in a container? If so, please could you update your script to check for /run/.containerenv
as well? Some container runtimes don’t provide the /.dockerenv
file
Thanks @DominicLavery … of course exactly this was the reason of the failures.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.