question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image detection has hard dependency on gcr.io structure

See original GitHub issue

Hi,

It looks like the registry has a hard dependency on image name to be like gcr.io with a project id (i.e. 2 levels). image_name = "gcr.io/<google-project-id>/<prefix>-name:<tag>"

https://github.com/jupyterhub/binderhub/blob/64bb3c7fb2a501ff31e1f29e572758f2589b5d97/binderhub/builder.py#L273

However, the documentation mentions to set up custom registry without the project ID, which causes the image to be rebuilt all the time. image_name = "your-registry.io/<prefix>-name:<tag>"

I’ve worked around it by just adding a projectID to my image prefix for ACR but was wondering if the correct fix for supporting all custom registries as well as gcr registry is what I’m proposing here: https://github.com/shibbas/binderhub/commit/c4a31cd893cd527c9f0479c6afacca24dca7961e

If not, perhaps an update to the documentation for custom registries?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
sgibson91commented, Jun 13, 2019

I was going to write up some docs about connecting an Azure Container Registry, as per issue #869, today and include this 🙂

2reactions
shibbascommented, Mar 4, 2019

Yup, i can do that. Thanks for the feedback!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Container Threat Detection | Security Command Center
This page shows you how to review Container Threat Detection findings in the Security Command Center dashboard and includes examples of Container Threat ......
Read more >
Remove Security Vulnerabilities and decrease the weight of ...
Remove Security Vulnerabilities and decrease the weight of Docker Images using Google Distroless Images ... In our work as developers, there are a ......
Read more >
12 Container Image Scanning Best Practices to Adopt - Sysdig
Sometimes, the image you scan is not the same one you deploy in your Kubernetes cluster. This can happen when you use mutable...
Read more >
Skaffold Deep Dive - Google Codelabs
Skaffold is leveraged by continuous deployment services such as Cloud Deploy. What you will learn. Skaffold basics and inner development loop ...
Read more >
Incident Response - Google - Site Reliability Engineering
The basic premise of incident management is to respond to an incident in a structured way. Large-scale incidents can be confusing; a structure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found