Connection between docker containers via UNIX sockets

I’m newbie to Docker, but i’d like to know: is it possible to connect one container from another container on Linux machine (any) with UNIX sockets?
For example i have one container for application core and second containers which covers database things.
Second example is two containers with application code, and first container can trigger some events in second.
Performance really matters for me in both cases.
If it’s impossible to do this way, is there is any solution for these problems?


Docker uses Linux bridge for communication between containers. If you want your own way of networking, you can disable Docker networking by doing “–net=none” and create your own networking scheme.