Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting registry #32

Open
edupo opened this issue Mar 27, 2018 · 1 comment
Open

Selecting registry #32

edupo opened this issue Mar 27, 2018 · 1 comment

Comments

@edupo
Copy link

edupo commented Mar 27, 2018

We use a private docker mirror.
I think this is a common practice around so why not to include a base flag --docker-registry to define the registry where to pull images from?

e.g:
I define a new task like:

task := command.NewTask("alpine")

And adding this lines to my app config file in my home:

docker-registry: "my.private.registry"

Will make cali to pull my.private.registry/alpine that is just a mirror from the original.

This comes from moby/moby#33069

@lucymhdavies
Copy link

I know you can set your docker registry in your docker daemon config, but being able to tell Cali to do this too would be useful.

A global docker-registry flag would be a good idea (default to docker.io, but allowing you to configure the default value for this in your own app code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants