greenframe-cli icon indicating copy to clipboard operation
greenframe-cli copied to clipboard

Is there any way to pull image apart from mcr.microsoft

Open Anushas42 opened this issue 2 years ago • 4 comments

I am getting this error while analyzing this server, the command i used "greenframe analyze https://mamelab.com"

✔ Check configuration file ✔ The folder is not a git repository ✔ Analysis is in progress locally ✔ Docker version 20.10.8, build 3967b7d ✔ Running 1 scenario(s)...

Analysis complete !

Result summary:

❌ main scenario failed This scenario fail during the execution: Command failed: docker rm -f greenframe-runner && docker create --tty --name greenframe-runner --rm -e HOSTIP=172.17.0.1 --add-host localhost:172.17.0.1 mcr.microsoft.com/playwright:v1.30.0-focal Error: No such container: greenframe-runner Unable to find image 'mcr.microsoft.com/playwright:v1.30.0-focal' locally Error response from daemon: Get "https://mcr.microsoft.com/v2/": Proxy Authentication Required

Help me resolve this

let me know if there is any alternative way to analyse this without having to use docker

Anushas42 avatar Jan 16 '24 10:01 Anushas42

@Anushas42 this one works for me inside a coporate network:

docker pull somepublic or inhouse registry/mcr.microsoft.com/playwright:v1.30.0-focal
..
docker tag 274d62c0dcda mcr.microsoft.com/playwright:v1.30.0-focal

Now run greenframe analyze https://mamelab.com/ again. Hope it works for you...

multikoop avatar Jan 17 '24 18:01 multikoop

@multikoop Thanks the issue is resolved

Anushas42 avatar Jan 19 '24 10:01 Anushas42

@multikoop , I am trying to analyze using github actions seems like its throwing 403 forbidden error with my API token. Should we provide any access to the token and what role user must posses to get it work with github actions.

image

Anushas42 avatar Jan 19 '24 10:01 Anushas42

Are you referring to the greenframe.io subscriber token? Did you read the following tutorial? https://docs.greenframe.io/commands#syncing-with-greenframeio

fzaninotto avatar Jan 19 '24 11:01 fzaninotto