How does docker registry work with swarm mode?

Is it going to be possible to run a, possibly insecure, private docker registry as a service in a docker 1.12 swarm? TLS termination would be ok, too :). Not blockers - just curious.

A related post: Docker 1.12 swarm still needs http (reverse) proxy?

A nice presentation which condenses a lot of information: