cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get immutable image from Dynatrace managed

Nickolay
Observer

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

 

 

3 REPLIES 3

Yosi_Neuman
DynaMight Guru
DynaMight Guru

Hi @Nickolay 

You will need to login with the follows:

Yosi_Neuman_2-1617021230541.png

Yosi_Neuman_4-1617021258642.png

 

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

HTH

Yos 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

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.

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

Featured Posts