maxfields2000 / dockerjenkins_tutorial

A repository for items learned in my Getting Started with Jenkins and Docker tutorial series
Apache License 2.0
737 stars 325 forks source link

Some aclaration notes #45

Closed SalahAdDin closed 6 years ago

SalahAdDin commented 7 years ago

I'm testing this comfiguration; after many plugins additions i have a good performance, except for some minor bugs, all is well.

In this case i want ask about this warning:

You no longer need to configure Docker TLS keys, this setup runs a "Proxy" container against your docker host that works around the TLS security. PLEASE NOTE: DO NOT USE IN PRODUCTION. This is a convenience proxy to make sure things work out of the box on Docker-toolbox, Docker for Mac or Docker for Windows without fuss!

In the production case which is the better setup?

maxfields2000 commented 6 years ago

So this is a good set up for local. If you move to production I'd recommend setting up TLS keys on your Docker endpoint (or finding some other way to secure traffic between jenkins and docker). You don't want production docker hosts listening on publicly accessible ports unless you can really garauntee your network is very secure.