简体   繁体   中英

eclipse che docker desktop installation is unable to pull images from private docker registry

Aim is to have a default workspace created for each new user.

User will visit the link https://che-eclipse-che.192.168.0.1.nip.io/#https://github.com/test/eclipse-che It has the devfile to create the workspace.

First user registration will happen via keycloak and then the workspace will be created. This means a new kubernetes namespace will also be created for the user.

The problem is that I need to use an image from a private docker registry but I'm unable to specify the authentication credentials in the devfile. Is there any way to achieve this?

Can not use kubernetes secret because secrets are confined to a namespace.

Withing Che, you can't configure your credentials to be used for every user. Each is supposed to configure their credentials, if they need access private docker repos. Check https://www.eclipse.org/che/docs/che-7/end-user-guide/using-private-container-registries/

What I can propose to look into:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM