Hacker News new | ask | show | jobs
by bencord0 3704 days ago
I think we all got distracted by docker in 2013. nspawn containers can be socket activated, but doing the same in docker is still tricky.

Also, we're all collectively still thinking of containers in terms of tiny-VMs instead of highly customized, tcp processing daemons, aka. websites.

1 comments

The trickery with docker is that it does not support passing sockets over its HTTP based client-server protocol. But one can still receive a socket from a named pipe.
You can't pass socket fds over TCP, nor should you want to. That particular unixism only works for AF_UNIX sockets.