Unable to enable nat rule during docker compose

I am using ubuntu subsystem in windows in that for docker
sudo docker-compose up -d

I get the following error

ERROR: Failed to Setup IP tables: Unable to enable NAT rule: (iptables failed: iptables --wait -t nat -I POSTROUTING -s ! -o br-efbfb3fa8f3d -j MASQUERADE: iptables: Invalid argument. Run `dmesg’ for more information. (exit status 1))