`cml runner launch --cloud-image` with private container registry
rickvanveen opened this issue · 2 comments
rickvanveen commented
Reference issue: #1285
I finally got to a point I needed to run a custom image. However, I'm running into the problem that this is image is hosted on a private container registry:
containers.github.company/hpc/hpc-cml/cml:0-dvc2-base1
What is the approach to provide access to a private container registry?
Error log from the pod:
Error from server (BadRequest): container "cml-trainer-2gdmvcj0-36fz6stv" in pod "cml-trainer-2gdmvcj0-36fz6stv-dcfmz" is waiting to start: image can't be pulled
0x2b3bfa0 commented
We don't provide any official support yet for this use case, but setting an imagePullSecret on the default service account might do the trick.
rickvanveen commented
It did! Thank you.