Create network without subnet defined


I have to migrate our lxc test setup to docker.
In our lxc setup we define networks without subnet defined, the software that runs in the containers will set the ip’s.
In docker I can not find a way to setup a network without a subnet defined.
Can somebody help me with this?