Unable to access some sites from Docker container when using ExitNode on Ubuntu

Tailscale version 1.38.1
Your operating system & version UbuntuServer 22.04
Docker version 23.0.1

We are using Tailscale to use OracleCloud as a VPN on UbuntuServer22.04. We use Docker on top of that and run containers. However, I am unable to connect to some websites from within the container. Why is this?

I am using the following command to use exit node

sudo tailscale up --exit-node=oracle cloud tailscale ip --exit-node-allow-lan-access=true