Skip to content

Deprecate --allow-insecure-ssl - #1736

Merged
mnowster merged 2 commits into
docker:masterfrom
aanand:deprecate-allow-insecure-ssl
Jul 23, 2015
Merged

mnowster merged 2 commits into
docker:masterfrom
aanand:deprecate-allow-insecure-ssl

Conversation

@aanand

@aanand aanand commented Jul 20, 2015

Copy link
Copy Markdown

Waiting on docker/docker-py#681 to be merged and released. We'll be rid of "HTTPS endpoint unresponsive and insecure mode isn't enabled" once and for all.

Comment thread compose/cli/main.py

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove from the help text altogether? That's what Engine does.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to keep it. Removing it immediately would break any scripts which include this flag. Leaving it here as a no-op gives people more time to remove it without having it break on upgrade.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the drawback (as well as the benefit) of using docopt is that you can't have undocumented command line flags.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sucks. Oh well.

aanand added 2 commits July 23, 2015 10:56
Signed-off-by: Aanand Prasad <[email protected]>
Signed-off-by: Aanand Prasad <[email protected]>
@aanand
aanand force-pushed the deprecate-allow-insecure-ssl branch from 37b5a46 to 04a773f Compare July 23, 2015 09:56
@aanand

aanand commented Jul 23, 2015

Copy link
Copy Markdown
Author

docker/docker-py#681 is out in docker-py 1.3.1. I've updated setup.py and requirements.txt, so this is now ready to go.

@mnowster

Copy link
Copy Markdown

LGTM

mnowster added a commit that referenced this pull request Jul 23, 2015
@mnowster
mnowster merged commit 65cc841 into docker:master Jul 23, 2015
@aanand
aanand deleted the deprecate-allow-insecure-ssl branch July 23, 2015 13:13
aanand pushed a commit to aanand/fig that referenced this pull request Jul 23, 2015
Deprecate --allow-insecure-ssl
(cherry picked from commit 65cc841)

Signed-off-by: Aanand Prasad <[email protected]>
aanand pushed a commit to aanand/fig that referenced this pull request Jul 23, 2015
Deprecate --allow-insecure-ssl
(cherry picked from commit 65cc841)

Signed-off-by: Aanand Prasad <[email protected]>
@NigelThorne

Copy link
Copy Markdown

I can see you have removed the "insecure-registry" options, but what is the alternative? How do you run a registry without ssh, and then connect a docker instance to it?

Cheers
Nigel

@aanand

aanand commented May 16, 2016

Copy link
Copy Markdown
Author

@NigelThorne You should be able to do that with no extra configuration. Are you having problems? If so, please open an issue!

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.

6 participants