Docker Community Forums

Share and learn in the Docker community.

Is it possible to enable both tlsverify and allow unauthenticated clients to connect?


(Artisticcheese) #1

Hello,

Can not figure out if it’s possible to enable both TLS and TLSless endpoints on docker .


(David Maze) #2

Docker itself doesn’t care; it’s whatever the services you run happen to expose. If you had an HTTP service, nothing stops you from specifying both -p80:80 -p443:443 to serve both plaintext and TLS HTTP.


(Artisticcheese) #3

No I meant docker service itself (daemon).


(David Maze) #4

I would never ever open up network access directly to the Docker daemon: anyone who can access the TCP port has unrestricted root access on your system. The steps to actually secure it are complex, and require the TLS path.