How to bind a container ro

I m trying to setup a bind server in a docker host.
As it s very difficult to change ip of the dns server in all my computer i would like to “fix” the ip of my bind server.

Then i would like to specify the ip only for my bind server

then on my docker host i have the

eth0 with adresse
and a subinterface eth0.1 with adresse

i ran my docker with the following command

docker create --name bind-slave -p -p bind-slave.

The server answer to request on the adresse that s nice
but when it does the zone transfer it use the ip adresse.

then the command work nice for in going packet but not for out going packet.
then the bind on the ip adress is not complete.

is there a way to mimic more accurately the bind on an interface?

sorry there was some problem with the title of my post.

my problem is not about volume but about ip adress.

i need to bind my container only one one ip adress and not to use the other ip adress.