29 Mar 2021 11:42 AM
Good day!
I tried to get the immutable image following the instructions here, but there was an unexpected problem.
#docker pull xxxxx.dynatrace-managed.com/linux/oneagent:1.209.70
Error response from daemon: Head https://xxxxx.dynatrace-managed.com/v2/linux/oneagent/manifests/1.209.70: no basic auth credentials
When i tried to log in via "docker login" with valid user credential, got the following error:
Error response from daemon: login attempt to https://xxxxx.dynatrace-managed.com/v2/ failed with status: 401 Unauthorized
So question is, how to log in to the dynatrace correctly through 'docker login'?
Solved! Go to Solution.
29 Mar 2021 01:35 PM
Hi @Nickolay
You will need to login with the follows:
Taken from documentation regrading Container build-time injection (step 1&2)
HTH
Yos
30 Mar 2021 08:47 AM
Many Thanks, it`s solved the problem!
10 Dec 2021 08:05 AM
Just found a new , at least for me, documentation entry about Store Dynatrace images in private registries in Kubernetes that explain this question.