HN user

truffles

2 karma
Posts0
Comments1
View on HN
No posts found.

Many people don't realize this, but Docker has a pretty good, and very simple JSON API.

Not only can you connect from anywhere with the docker client, but you can also use any other HTTP(s) speaking tool including curl or even your browser directly.

TLS certificate authentication is supported by the docker daemon by default (it's a flag away), and using that is a lot more secure than using an unauthenticated web UI like this, which is dangerously close to giving root access to your server to anyone who can route to your port.