Tailscale from Docker not working

I have Tailscale running on Android Phone and as a docker container on Ubuntu 22.04.2. I am trying to set tailscale up in subnet routing mode from the Ubuntu machine, but this is not working. I also cannot ping any of the other machines on the tailnet.

I am using the Android app on the android phone.
On my Ubuntu machine, I am using this docker-compose file:

version: '3.8'
services:
  tailscale:
    image: tailscale/tailscale
    container_name: tailscale
    restart: always
    privileged: true
    command: /bin/sh -c "tailscaled --tun=userspace-networking"                                                                                              
    cap_add:
      - NET_ADMIN
      - SYS_ADMIN
    environment:
      - TS_AUTHKEY=${TAILSCALE_AUTH_KEY}
      - TS_ROUTES=192.168.50.0/24
    volumes:
      - /etc/docker/tailscale:/var/lib/tailscale
      - /dev/net/tun:/dev/net/tun
after the docker container is up, I am running sudo docker exec tailscale tailscale up --auth-key=tskey-auth-AUTHKEY --advertise-routes=192.168.50.0/24 --hostname=hostName --accept-routes

After this point, running

sudo docker exec tailscale tailscale ping AndroidPhoneName
pong from AndroidPhoneName (100.102.174.X) via DERP(tor) in 401ms

But a regular ping times out:

ping 100.102.174.X
PING 100.102.174.X (100.102.174.X) 56(84) bytes of data.

Additionally

sudo docker exec tailscale tailscale ping --tsmp 100.102.174.X
ping “100.102.174.X” timed out

OS
Linux, Android

OS version
Ubuntu 22.04.2