docker pull на удалённой машине

Почему при выполнении скрипта по ssh в jenkins, я не могу залогиниться в докере и запулить образы docker login 1.2.3.4:5 -u 123 --password 456 ?

Error saving credentials: error storing credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY`
[SSH] completed
[SSH] exit-status: 1

Build step 'Execute shell script on remote host using ssh' marked build as failure

here

Error: Cannot perform an interactive login from a non TTY device

here

Credentials store docker-credential-pass exited with "exit status 2: gpg: decryption failed: No secret key".

https://github.com/docker/for-linux/issues/439#issuecomment-461836102


Credentials store docker-credential-pass exited with "exit status 2: gpg: decryption failed: No secret key".

Решается удалением docker-credential-pass из PATH.


Ответы (0 шт):