I set docker container network as host on ubuntu,but i set fail when on the macbook pro,so have a case to replace it?
Please rephrase your question: it is too ambiguous to understand what you might want.
Is this related to using the host network with containers? Docker Desktop always uses a utility vm to run the docker engine. In this scenario the container would use the host network of the utility vm (which can’t be accessed), but not host network of your host.