You need a “Hostname translation for piggybacked hosts” rule for each and every server running Docker.
This for example would prefix each Docker container on server1 with the hostname. (server1-container_foo, server1-container_bar etc.)
For a few Docker servers this is working well. If you have lots of them, there’s currently no automatic way to make containers both unique to CMK and human readable.