Hi Rimelek, thanks for your response. When I run docker context ls --format json, it also shows the ‘default’ context. Having played around a bit more, I note the following:
When I initialise Docker Desktop (gpg --generate-key followed by pass init
) as the ubuntu user, it seems to work, giving the message:
Password store initialized for
However, when I run the same commands as the jenkins user (which runs my pipeline), it opens a dialog asking
‘Please enter the passphrase to unlock the OpenPGP secret key’
and when I enter the passphrase it fails with a ‘bad passphrase’ error.