-
Hi all,
Apologies if this is a rookie mistake, any suggestions would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 9 replies
-
@squillace Do you have any ideas on why accessing a private ACR registry is failing when running Porter inside an azure linux VM? |
Beta Was this translation helpful? Give feedback.
-
@lBowlin it works fine for me; how did you originally log into ACR? Just doing the due diligence, but you have to docker login (or az acr login) first to cache your docker creds and then it works according to the permissions you have in the repository. Do you have the appropriate perms, and have you logged in, and if so, how? |
Beta Was this translation helpful? Give feedback.
-
when, precisely, were you doing this work? Yesterday, ACR seemed to suffer an issue with publishing porter bundles and had some log in issues for me for about two hours. have you deleted everything there, reauthed, and tried publishing again? I know you probably have, but I gotta make sure. |
Beta Was this translation helpful? Give feedback.
-
@squillace I just deleted and republished the bundle (12:20PM PT 7/29) and it still did not work. |
Beta Was this translation helpful? Give feedback.
-
I'm baffled. Can you share the repro for me? How'd you create the registry, anything special? just so I can try the entire thing... |
Beta Was this translation helpful? Give feedback.
-
Sure, it is quite baffling. I cloned https://github.com/getporter/porter/blob/main/examples/hello/porter.yaml and then ran: And then on azure VM I run:
|
Beta Was this translation helpful? Give feedback.
-
@lBowlin did it work in the end, or not? |
Beta Was this translation helpful? Give feedback.
-
and then this is correct, as I haven't logged into the private repo:
so then I log in: and suddenly: ╭─squillace at dellsquill in ~/work/squillace/porter/examples/hello on main✘✘✘ so it's working.... |
Beta Was this translation helpful? Give feedback.
-
so there's something you are doing wrt to the creation of the acr or when using it from a vm. |
Beta Was this translation helpful? Give feedback.
-
I just spun up a fresh VM and it worked successfully. This time I installed Docker with |
Beta Was this translation helpful? Give feedback.
I just spun up a fresh VM and it worked successfully. This time I installed Docker with
apt
instead ofsnap
and that may have something to do with it. Both times docker and porter were running as my normal user, but I'm wondering if thesnap
sandboxing gets in the way of sharing the auth with porter. If I get time I will retest with snap to confirm. Thank you all so much for your help.