Can not connect to foundationdb docker container

I would expect that this is again a case of host<->docker NAT’d networks. See fdbcli access external [docker] for another instance, and your solution is going to be to run your host client in the same docker network that your server is running in.