Git repository rebuilds, even though it already exists in container registry

Hello!

We have a GIT Repository at around 2GB in size that rebuilds everytime we try to launch a new server.
Whenever I try with a small repository I have on Github (only has one small python script), Binderhub detects that it already exists in the container registry, and skips rebuilding it.

Is this because the other repository is much larger, and contains more dependencies?
Is there a way for us to “prebuild” this repository, so it does not take so much time to launch a new server?

Our config file (with some information redacted):

config:
  BinderHub:
    cors_allow_origin: '*'
    use_registry: true
    image_prefix: "gitlab.our.domain.com:5000/organization/binderhub/prod-"
    hub_url: "https://hub.binder.our.domain.com"

registry:
  url: "https://gitlab.our.domain.com:5000/organization/binderhub"

jupyterhub:
  custom:
    cors: 
      cors_allow_origin: '*'

  singleuser:
    memory:
      guarantee: 128M
      limit: 2G
    cpu:
      guarantee: .1
      limit: .5

  prePuller:
    continuous:
      enabled: true

  scheduling:
    userScheduler:
      enabled: false # Requires Cluster Roles if set to true

  hub:
    db:
      pvc:
        storageClassName: ceph
    config:
      BinderSpawner:
        cors_allow_origin: '*'

  proxy:
    service:
      type: ClusterIP
      
  ingress:
    enabled: true
    hosts:
      - hub.binder.our.domain.com
    annotations:
      kubernetes.io/ingress.class: nginx-public
      cert-manager.io/issuer: binder-letsencrypt-issuer
    tls:
    - secretName: name-of-secret
      hosts:
      - hub.binder.our.domain.com

    
service:
  type: ClusterIP
  
ingress:
  enabled: true
  hosts:
    - binder.our.domain.com
  annotations:
    kubernetes.io/ingress.class: nginx-public
    cert-manager.io/issuer: binder-letsencrypt-issuer
  tls:
  - secretName: name-of-secret
    hosts:
    - binder.our.domain.com

dind:
  enabled: true
  hostLibDir: "/var/lib/dind/<secret>"
  hostSocketDir: "/var/run/dind/<secret>"
  daemonset:
    image:
      name: docker
      tag: dind
    extraArgs:
      - --mtu
      - "1400"

BinderHub uses the git commit SHA to generate an image name. If this image is not in the container registry it will be built and pushed. Is the commit SHA of your large repo the same or is it constantly being updated?

Is the container present in your registry? You can find the container name from the BinderHub logs- the logs should also tell you whether BinderHub was able to find the image in the registry. Can you share those logs with us? It may also be useful to turn on debug logging.

1 Like

The commit SHA seems to always be the same.
When I checked my registry I found something interesting. There were 9 “tags” saved for this repository, but none of them were for the SHA used for building. I cleaned up my container registry, tried again, and now the correct tag was saved.
This did however not solve the issue, it still takes a few minutes to build this repository.

The logs when building:

Waiting for build to start...
Picked Git content provider.
Cloning into '/tmp/repo2dockercbqs4var'...
warning: redirecting to https://gitlab.domain.com/repository/course-binder.git/
HEAD is now at 74b2c84 Update postBuild
Building conda environment for python=3.7Using PythonBuildPack builder
Building conda environment for python=3.7Building conda environment for python=3.7Step 1/53 : FROM buildpack-deps:bionic
 ---> 872a6bfe806a
Step 2/53 : ENV DEBIAN_FRONTEND=noninteractive
 ---> Using cache
 ---> 9a68b36c18c7
Step 3/53 : RUN apt-get -qq update &&     apt-get -qq install --yes --no-install-recommends locales > /dev/null &&     apt-get -qq purge &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 1baac11f0bec
Step 4/53 : RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen &&     locale-gen
 ---> Using cache
 ---> f1193a9cf84a
Step 5/53 : ENV LC_ALL en_US.UTF-8
 ---> Using cache
 ---> caeb5af506ac
Step 6/53 : ENV LANG en_US.UTF-8
 ---> Using cache
 ---> 44b9a2b655f9
Step 7/53 : ENV LANGUAGE en_US.UTF-8
 ---> Using cache
 ---> fdb77564cae8
Step 8/53 : ENV SHELL /bin/bash
 ---> Using cache
 ---> 1b50ae50c1ed
Step 9/53 : ARG NB_USER
 ---> Using cache
 ---> 618686492dc4
Step 10/53 : ARG NB_UID
 ---> Using cache
 ---> ba4d2c3054d6
Step 11/53 : ENV USER ${NB_USER}
 ---> Using cache
 ---> 13e319199481
Step 12/53 : ENV HOME /home/${NB_USER}
 ---> Using cache
 ---> eb073fb8d607
Step 13/53 : RUN groupadd         --gid ${NB_UID}         ${NB_USER} &&     useradd         --comment "Default user"         --create-home         --gid ${NB_UID}         --no-log-init         --shell /bin/bash         --uid ${NB_UID}         ${NB_USER}
 ---> Using cache
 ---> 54375f8f246d
Step 14/53 : RUN wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key |  apt-key add - &&     DISTRO="bionic" &&     echo "deb https://deb.nodesource.com/node_14.x $DISTRO main" >> /etc/apt/sources.list.d/nodesource.list &&     echo "deb-src https://deb.nodesource.com/node_14.x $DISTRO main" >> /etc/apt/sources.list.d/nodesource.list
 ---> Using cache
 ---> 0ae27b83e168
Step 15/53 : RUN apt-get -qq update &&     apt-get -qq install --yes --no-install-recommends        less        nodejs        unzip        > /dev/null &&     apt-get -qq purge &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 9747de0f3a25
Step 16/53 : EXPOSE 8888
 ---> Using cache
 ---> 68469e94627b
Step 17/53 : ENV APP_BASE /srv
 ---> Using cache
 ---> 9349a4092257
Step 18/53 : ENV NPM_DIR ${APP_BASE}/npm
 ---> Using cache
 ---> 0b07489d8184
Step 19/53 : ENV NPM_CONFIG_GLOBALCONFIG ${NPM_DIR}/npmrc
 ---> Using cache
 ---> 19e0182407be
Step 20/53 : ENV CONDA_DIR ${APP_BASE}/conda
 ---> Using cache
 ---> 1bf57c349279
Step 21/53 : ENV NB_PYTHON_PREFIX ${CONDA_DIR}/envs/notebook
 ---> Using cache
 ---> e02080989c34
Step 22/53 : ENV NB_ENVIRONMENT_FILE /tmp/env/environment.lock
 ---> Using cache
 ---> a63106a02581
Step 23/53 : ENV KERNEL_PYTHON_PREFIX ${NB_PYTHON_PREFIX}
 ---> Using cache
 ---> 2c201fd72517
Step 24/53 : ENV PATH ${NB_PYTHON_PREFIX}/bin:${CONDA_DIR}/bin:${NPM_DIR}/bin:${PATH}
 ---> Using cache
 ---> 9d24d4244f47
Step 25/53 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e8-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2factivate-2dconda-2esh-391af5 /etc/profile.d/activate-conda.sh
 ---> Using cache
 ---> 1948293de961
Step 26/53 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e8-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2fenvironment-2epy-2d3-2e7-2elock-4f1154 /tmp/env/environment.lock
 ---> Using cache
 ---> b39a06ec3cbc
Step 27/53 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e8-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2finstall-2dminiforge-2ebash-514214 /tmp/install-miniforge.bash
 ---> Using cache
 ---> 0fedcc4b7575
Step 28/53 : RUN mkdir -p ${NPM_DIR} && chown -R ${NB_USER}:${NB_USER} ${NPM_DIR}
 ---> Using cache
 ---> 25c31934e1d0
Step 29/53 : USER ${NB_USER}
 ---> Using cache
 ---> 0993e3494be6
Step 30/53 : RUN npm config --global set prefix ${NPM_DIR}
 ---> Using cache
 ---> ec15dbfc307c
Step 31/53 : USER root
 ---> Using cache
 ---> c576411de157
Step 32/53 : RUN TIMEFORMAT='time: %3R' bash -c 'time /tmp/install-miniforge.bash' && rm -rf /tmp/install-miniforge.bash /tmp/env
 ---> Using cache
 ---> 869045a8ce8d
Step 33/53 : ARG REPO_DIR=${HOME}
 ---> Using cache
 ---> 79fe9c4deffa
Step 34/53 : ENV REPO_DIR ${REPO_DIR}
 ---> Using cache
 ---> 9b3e8f04a024
Step 35/53 : WORKDIR ${REPO_DIR}
 ---> Using cache
 ---> e1cae5b53537
Step 36/53 : RUN chown ${NB_USER}:${NB_USER} ${REPO_DIR}
 ---> Using cache
 ---> a238c5b6bac9
Step 37/53 : ENV PATH ${HOME}/.local/bin:${REPO_DIR}/.local/bin:${PATH}
 ---> Using cache
 ---> 9a097f2ce3d4
Step 38/53 : ENV CONDA_DEFAULT_ENV ${KERNEL_PYTHON_PREFIX}
 ---> Using cache
 ---> 20459af31992
Step 39/53 : COPY --chown=1000:1000 src/requirements.txt ${REPO_DIR}/requirements.txt
 ---> Using cache
 ---> f38ce33ae4a8
Step 40/53 : USER ${NB_USER}
 ---> Using cache
 ---> 402762845f46
Step 41/53 : RUN ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r "requirements.txt"
 ---> Using cache
 ---> c9532bcf0d2d
Step 42/53 : COPY --chown=1000:1000 src/ ${REPO_DIR}
 ---> 99666a9c1572
Step 43/53 : LABEL repo2docker.ref="74b2c84a30925c6d28f2238db08253d889580c33"
 ---> Running in 3d82d89a461a
Removing intermediate container 3d82d89a461a
 ---> 3c29463ae571
Step 44/53 : LABEL repo2docker.repo="https://gitlab.domain.com/repository/course-binder"
 ---> Running in 768bc4bea86a
Removing intermediate container 768bc4bea86a
 ---> bfef7700a03d
Step 45/53 : LABEL repo2docker.version="2021.08.0"
 ---> Running in 18fd5efb0964
Removing intermediate container 18fd5efb0964
 ---> f273312c532b
Step 46/53 : USER ${NB_USER}
 ---> Running in bb67b6c03463
Removing intermediate container bb67b6c03463
 ---> 03d0ef9fbf72
Step 47/53 : RUN chmod +x postBuild
 ---> Running in 509a1b32d0db
Removing intermediate container 509a1b32d0db
 ---> 95f88e8684c9
Step 48/53 : RUN ./postBuild
 ---> Running in 799b4aad890e
e[91m
Downloading https://raw.githubusercontent.com/stanfordnlp/stanza-resources/main/resources_1.3.0.json:   0%|          | 0.00/24.5k [00:00<?, ?B/s]e[0me[91m
Downloading https://raw.githubusercontent.com/stanfordnlp/stanza-resources/main/resources_1.3.0.json: 142kB [00:00, 65.8MB/s]                    e[0me[91m
2022-08-24 13:17:59 INFO: Downloading default packages for language: sv (Swedish)...
e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:   0%|          | 0.00/207M [00:00<?, ?B/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:   5%|▌         | 10.7M/207M [00:00<00:01, 106MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  11%|â–ˆ         | 22.5M/207M [00:00<00:01, 113MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  17%|█▋        | 34.3M/207M [00:00<00:01, 114MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  22%|██▏       | 46.1M/207M [00:00<00:01, 115MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  28%|██▊       | 57.9M/207M [00:00<00:01, 116MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  34%|███▎      | 69.6M/207M [00:00<00:01, 116MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  39%|███▉      | 81.4M/207M [00:00<00:01, 116MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  45%|████▍     | 93.1M/207M [00:00<00:00, 115MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  51%|█████     | 105M/207M [00:00<00:00, 115MB/s] e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  56%|█████▌    | 117M/207M [00:01<00:00, 116MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  62%|██████▏   | 128M/207M [00:01<00:00, 116MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  68%|██████▊   | 140M/207M [00:01<00:00, 116MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  73%|███████▎  | 152M/207M [00:01<00:00, 116MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  79%|███████▉  | 163M/207M [00:01<00:00, 116MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  85%|████████▍ | 175M/207M [00:01<00:00, 116MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  90%|█████████ | 187M/207M [00:01<00:00, 117MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip:  96%|█████████▌| 199M/207M [00:01<00:00, 116MB/s]e[0me[91m
Downloading https://huggingface.co/stanfordnlp/stanza-sv/resolve/v1.3.0/models/default.zip: 100%|██████████| 207M/207M [00:01<00:00, 116MB/s]e[0me[91m
2022-08-24 13:18:04 INFO: Finished downloading models and saved to /home/jovyan/stanza_resources.
e[0mCollecting https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz
  Downloading https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz (13.7 MB)
Collecting spacy<3.1.0,>=3.0.0
  Downloading spacy-3.0.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB)
Requirement already satisfied: srsly<3.0.0,>=2.4.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (2.4.2)
Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (1.0.6)
Requirement already satisfied: wasabi<1.1.0,>=0.8.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (0.9.0)
Requirement already satisfied: cymem<2.1.0,>=2.0.2 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (2.0.6)
Requirement already satisfied: requests<3.0.0,>=2.13.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (2.26.0)
Requirement already satisfied: numpy>=1.15.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (1.21.5)
Collecting typer<0.4.0,>=0.3.0
  Downloading typer-0.3.2-py3-none-any.whl (21 kB)
Requirement already satisfied: tqdm<5.0.0,>=4.38.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (4.62.3)
Requirement already satisfied: blis<0.8.0,>=0.4.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (0.7.5)
Requirement already satisfied: setuptools in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (49.6.0.post20210108)
Requirement already satisfied: packaging>=20.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (21.0)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (1.8.2)
Requirement already satisfied: pathy>=0.3.5 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (0.6.1)
Requirement already satisfied: typing-extensions<4.0.0.0,>=3.7.4 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (3.10.0.0)
Requirement already satisfied: preshed<3.1.0,>=3.0.2 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (3.0.6)
Requirement already satisfied: thinc<8.1.0,>=8.0.3 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (8.0.13)
Requirement already satisfied: catalogue<2.1.0,>=2.0.4 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (2.0.6)
Requirement already satisfied: spacy-legacy<3.1.0,>=3.0.5 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (3.0.8)
Requirement already satisfied: jinja2 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (3.0.1)
Requirement already satisfied: zipp>=0.5 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from catalogue<2.1.0,>=2.0.4->spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (3.5.0)
Requirement already satisfied: pyparsing>=2.0.2 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from packaging>=20.0->spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (2.4.7)
Requirement already satisfied: smart-open<6.0.0,>=5.0.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from pathy>=0.3.5->spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (5.2.1)
Requirement already satisfied: certifi>=2017.4.17 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from requests<3.0.0,>=2.13.0->spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (2021.5.30)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from requests<3.0.0,>=2.13.0->spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (1.26.6)
Requirement already satisfied: charset-normalizer~=2.0.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from requests<3.0.0,>=2.13.0->spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (2.0.0)
Requirement already satisfied: idna<4,>=2.5 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from requests<3.0.0,>=2.13.0->spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (3.1)
Collecting click<7.2.0,>=7.1.1
  Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
Requirement already satisfied: MarkupSafe>=2.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jinja2->spacy<3.1.0,>=3.0.0->en-core-web-sm==3.0.0) (2.0.1)
Building wheels for collected packages: en-core-web-sm
  Building wheel for en-core-web-sm (setup.py): started
  Building wheel for en-core-web-sm (setup.py): finished with status 'done'
  Created wheel for en-core-web-sm: filename=en_core_web_sm-3.0.0-py3-none-any.whl size=13704311 sha256=65bd166960ac1a77fb306e4aae94bf08dce67e9194477e7a8b8e4d78c7d6af89
  Stored in directory: /home/jovyan/.cache/pip/wheels/2d/86/ba/c33ceff8af5cb8a963e86131912039d39b37227f9787661bca
Successfully built en-core-web-sm
Installing collected packages: click, typer, spacy, en-core-web-sm
  Attempting uninstall: click
    Found existing installation: click 8.0.3
    Uninstalling click-8.0.3:
      Successfully uninstalled click-8.0.3
  Attempting uninstall: typer
    Found existing installation: typer 0.4.0
    Uninstalling typer-0.4.0:
      Successfully uninstalled typer-0.4.0
  Attempting uninstall: spacy
    Found existing installation: spacy 3.2.1
    Uninstalling spacy-3.2.1:
      Successfully uninstalled spacy-3.2.1
Successfully installed click-7.1.2 en-core-web-sm-3.0.0 spacy-3.0.8 typer-0.3.2
Removing intermediate container 799b4aad890e
 ---> 4ddfd0c4a7de
Step 49/53 : ENV PYTHONUNBUFFERED=1
 ---> Running in 54723786c624
Removing intermediate container 54723786c624
 ---> 8f406d9703ae
Step 50/53 : COPY /python3-login /usr/local/bin/python3-login
 ---> 40da3d92e86b
Step 51/53 : COPY /repo2docker-entrypoint /usr/local/bin/repo2docker-entrypoint
 ---> ffa9125c5527
Step 52/53 : ENTRYPOINT ["/usr/local/bin/repo2docker-entrypoint"]
 ---> Running in 5deba60422a1
Removing intermediate container 5deba60422a1
 ---> 01f907cd7b92
Step 53/53 : CMD ["jupyter", "notebook", "--ip", "0.0.0.0"]
 ---> Running in 325eae8a8662
Removing intermediate container 325eae8a8662
 ---> e7d993da9f17
{"aux": {"ID": "sha256:e7d993da9f175243f59a6d6f0f1f443ea22e651633a941654c67665eba19f7d1"}}Successfully built e7d993da9f17
Successfully tagged gitlab.our.domain.com:5000/organization/binderhub/prod-https-3a-2f-2fgitlab-2eour-2ese-2frepository-2fcourse-2dbinder-768a06:74b2c84a30925c6d28f2238db08253d889580c33
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Pushing image
Successfully pushed gitlab.our.domain.com:5000/organization/binderhub/prod-https-3a-2f-2fgitlab-2eour-2ese-2frepository-2fcourse-2dbinder-768a06:74b2c84a30925c6d28f2238db08253d889580c33Built image, launching...
Launching server...
Server requested

Can you share your debug BinderHub logs too? Particularly the ones from before the build starts, which should show BinderHub checking the registry, including the name:tag it’s looking for.

Sorry for the slow response.

The logs from the binderhub pod says:

[I 220902 07:17:56 build:430] Started build build-https-3a-2f-2fgitlab-2edomain-2ecom-2foskho10-2-768a06-74b-b8
[I 220902 07:17:56 build:432] Watching build pod build-https-3a-2f-2fgitlab-2edomain-2ecom-2foskho10-2-768a06-74b-b8
[I 220902 07:17:57 build:486] Watching logs of build-https-3a-2f-2fgitlab-2edomain-2ecom-2foskho10-2-768a06-74b-b8
[I 220902 07:20:46 build:516] Finished streaming logs of build-https-3a-2f-2fgitlab-2edomain-2ecom-2foskho10-2-768a06-74b-b8
[I 220902 07:20:48 launcher:236] Starting server oskho10-ete335-binder-tvktuem2 for user myuser@domain.com with image gitlab.our.domain.com:5000/drs/binderhub/prod-https-3a-2f-2fgitlab-2edomain-2ecom-2foskho10-2fete335-2dbinder-768a06:74b2c84a30925c6d28f2238db08253d889580c33
[I 220902 07:20:53 builder:655] Launched https://gitlab.domain.com/oskho10/ete335-binder in 6s
[I 220902 07:21:53 log:138] 200 GET /build/git/https%3A%2F%2Fgitlab.domain.com%2Foskho10%2Fete335-binder/HEAD (myuser@domain.com@10.4.5.6) 238213.00ms

Can you turn on debug logging, and show us the logs from before that too? There should be logs about detecting the repository, checking the registry, etc. If you’re not sure then restart BinderHub, launch your repo, and show us the full set of logs.