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

Support insecure pull #401

Merged
merged 1 commit into from
Oct 22, 2018

Conversation

dtaniwaki
Copy link
Contributor

I run a system which pushes a Docker image by user's request and creates another Docker images based on the built image. As I use insecure Docker registry in my local environment for this system, I also need to pull Docker images in an insecure manner.

Could you consider merging it? If the option --insecure should be separated for push and pull, please tell me, then I will make it like so.

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

@container-tools-bot
Copy link
Collaborator

Hi @dtaniwaki. Thanks for your PR.

I'm waiting for a GoogleContainerTools member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@googlebot
Copy link

CLAs look good, thanks!

@sharifelgamal sharifelgamal merged commit 05e3250 into GoogleContainerTools:master Oct 22, 2018
@dtaniwaki dtaniwaki deleted the insecure-pull branch October 24, 2018 02:28
@avorima
Copy link

avorima commented Oct 24, 2018

@dtaniwaki I would really appreciate if the --insecure flag could be separated for push and pull.

I'm using a registry that doesn't allow HTTP for pulling images and pushing the resulting images after a build to an insecure registry. With this generalized option I don't see a way for this to be done without some intermediate steps.

@dtaniwaki
Copy link
Contributor Author

@avorima That makes sense. How do the separated options look like? Maybe, --insecure-pull and --insecure-push?

@avorima
Copy link

avorima commented Oct 24, 2018

@dtaniwaki That would be the most obvious choice, yes. Maybe even keep the --insecure flag and make it set both pull and push to true, to not break behaviour.

@dtaniwaki
Copy link
Contributor Author

I'll make a pull request now.

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

Successfully merging this pull request may close these issues.

7 participants