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

EasyTravel on docker - getting authorization error when try to run "docker-compose up"

NavenduGupta
Contributor

Hi All,

I'm trying to setup easyTravel application on docker and getting following error

PS C:\easy_travel_docker\easyTravel-Docker> docker-compose up
time="2024-10-02T18:52:39+05:30" level=warning msg="C:\\easy_travel_docker\\easyTravel-Docker\\docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
[+] Running 8/8
✘ frontend Error                                                                                                    failed to resolve reference "docker.io/dynatrace/easytravel-... 2.5s
✘ headless-customer-loadgen Error                                                                   context canceled 2.5s
✘ www Error                                                                                                        context canceled 2.5s
✘ angular-frontend Error                                                                                     context canceled 2.5s
✘ loadgen Error                                                                                                    context canceled 2.5s
✘ headless-angular-loadgen Error                                                                      context canceled 2.5s
✘ mongodb Error                                                                                                 context canceled 2.5s
✘ backend Error                                                                                                    context canceled 2.5s


Error response from daemon: failed to resolve reference "docker.io/dynatrace/easytravel-frontend:latest": failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://auth.docker.io/token?scope=repository%3Adynatrace%2Feasytravel-frontend%3Apull&service=regis...: 401 Unauthorized

I'm quite new to Kubernetes/containers setup. Here is my setup

I have windows 10 desktop, with minikube setup. 

Thanks in advance,

Navendu

1 REPLY 1

NavenduGupta
Contributor

I was able to get though this. I had not done docker login from the command line.

Featured Posts