kyma-project / docker-registry

Apache License 2.0
2 stars 7 forks source link

Allow access to internal docker registry via docker CLI #38

Closed kwiatekus closed 1 day ago

kwiatekus commented 2 months ago

Description Expose docker registry in a way so that it is accessible via docker CLI push command. Guide user how to configure docker CLI in order to allow accessing kyma's internal docker registry. Provide necessary kyma cli command to expose docker registry and instruct user how to configure ~/.docker/config.json

Reasons Developers are used to docker CLI in their daily work. Making it possible to push docker images into kyma's internal docker registry via docker push command would go hand in hand with a commonly adopted dev experience.

Attachments

https://docs.docker.com/engine/reference/commandline/cli/#docker-cli-configuration-file-configjson-properties

pPrecel commented 2 months ago

I've tested a bit of registry port-forwarding:

kubectl port-forward -n kyma-system  svc/dockerregistry 5002:5000

I see two ways to reach the registry server:

In both solution we need to face problems:

kwiatekus commented 4 weeks ago

Depends on #37