3 ms·
You can configure the Docker client to use the artifactory remote by default.
by richardwhiuk 6y ago
You can configure the Docker client to use the artifactory remote by default.
- ithkuil 6y agocan you elaborate on that? Are you talking about the "registry-mirrors" option of the docker daemon?
- richardwhiuk 6y agoYeah - if you set that then pulls for python:3.7 say will pull from your mirror instead.
- ithkuil 6y agook; so the problems with that are: 1. it requires a change on the docker daemon config. On many container environments like k8s it's hard to manipulate that setting. 2. it works only for the default "implicit" index registry, aka docker hub. Not all images are distributed from that place.
- richardwhiuk 6y ago1) You can configure docker's daemon.json file on Kubernetes in the same way as every other system running Docker (in fact, you can apply it with a daemonset if you want to). 2) Yes, every other image mandates where you should get it from - Docker Hub's are unique in that regard. Normally the registry the image is pulled from is configurable in the Helm chart.