Recently I faced a rather strange issue with networking and docker: I was neither able to install Rubygems in a container nor access any other services on external IP addresses. In this article I’m going to describe how I solved this issue and what I learned about systemd-networkd.