I have to create the container with ip 192.168.31.11. So, i used the user-defined bridge network and created mynet as:
docker network create \\ --