docker login error #1026
-
Hi, I experience a strange behaviour with gnomock when running tests on my local system. On other systems its working fine so I guess its related to a config on my machine but I cant wrap my head around this. When running a test which uses gnomock I get the following error message:
My ~/.docker/config.json looks like this:
When I use the option Those are the client values:
Any idea what could cause the issue that docker is not logged in when running the tests but the terminal is working fine? Thanks in advance for any tips and ideas. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, thank you for using Gnomock. For |
Beta Was this translation helpful? Give feedback.
Hi, thank you for using Gnomock.
For
docker login
there is an option you should use when running tests if nothing else works. You would need to modify the test slightly to get the credentials from the filesystem or someplace else.