Better HN
topnewbestaskshowjobs
Log inSign up

truffles

2 karma · joined Dec 7, 2014 (11y ago) · 1 submissions

Submissions

comment 11y ago · link · parent

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.