Docker --net=host problem width couchbase server 4.5.1

I’m trying to use couchbase servers in Docker containers. I tried both the cocuhbase / server version 4.6.1 and the cocuhbase / server version 4.5.1. I need to use version 4.5.1 with the --net = host directive. But I have a problem. The --net = host directive works only with version 4.6.1.

I solved the problem. Last night the 4.5.1 images were updated and the directive worked. Thanks so much.