Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
03-22-2022
08:57 AM
- last edited on
04-21-2026
12:58 AM
by
GrazittiAPI
Hi,
I am trying to add a custom runtime from gitlab private docker registry , and I am getting this error
Created 03-23-2022 08:49 AM
sorted it out!
the full version is actually taken from the tag in the base image pulled in the docker file
e.g. in:
FROM docker.repository.cloudera.com/cdsw/ml-runtime-jupyterlab-python3.6-standard:2021.02.1-b2
it's
2021.02.1
so, the following lines must look like
ENV ML_RUNTIME_EDITION="Telnet Edition" \
ML_RUNTIME_SHORT_VERSION="2021.02" \
ML_RUNTIME_MAINTENANCE_VERSION="1" \
Created 03-22-2022 09:09 AM
I tried with
registry/cdsw/image-name:tag
following this AMP example
https://github.com/cloudera/CML_AMP_Structural_Time_Series
but it does not work
Created 03-22-2022 09:22 AM
is the *host* in https://docs.cloudera.com/machine-learning/cloud/runtimes/topics/ml-add-docker-registry-credentials-...
the same as <company-registry>? thanks
Created 03-22-2022 09:29 AM
tried with my CDP/CML user-id and does not work
Created 03-22-2022 09:34 AM
tried the gitlab user (same of secret) and it does not work
Created 03-23-2022 08:06 AM
setting tag to
com.cloudera.ml.runtime.full-version
does not work
Created 03-23-2022 08:12 AM
setting tag to
short version concatenated with maintenance version, by a '-' does not work
Created 03-23-2022 08:23 AM
setting tag to
short version concatenated with maintenance version, by a '.' does not work
Created 03-23-2022 08:49 AM
sorted it out!
the full version is actually taken from the tag in the base image pulled in the docker file
e.g. in:
FROM docker.repository.cloudera.com/cdsw/ml-runtime-jupyterlab-python3.6-standard:2021.02.1-b2
it's
2021.02.1
so, the following lines must look like
ENV ML_RUNTIME_EDITION="Telnet Edition" \
ML_RUNTIME_SHORT_VERSION="2021.02" \
ML_RUNTIME_MAINTENANCE_VERSION="1" \
Created 03-23-2022 08:51 AM
btw,
also it does not care about the user
(for instance, no need to provide user as gitlab user, etc...)