instead, the rpc_server has a reference to cointainer