Get immutable image from Dynatrace managed

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’?

Hi @Nickolay

You will need to login with the follows:

Yosi_Neuman_2-1617021230541.png

Taken from documentation regrading Container build-time injection (step 1&2)

HTH

Yos

Many Thanks, it`s solved the problem!

Just found a new , at least for me, documentation entry about Store Dynatrace images in private registries in Kubernetes that explain this question.