In my case setting the --network=host was the issue & not passing --network parameter solved the issue.