Should docker run --net=host work?

I thought the purpose of the --net=host is to tell docker to replicate that same ifconfig detail into the running container as well.

It seems like this is not the case.

My machine ifconfig has an en0 interface with ip 10.x.x.x while in a running container the ifconfig shows an en0 interface with 192.x.x.x.

Could someone explain the mechanics for how the networking works?