Chromecast problems

Hello,
I’m havin problems with google integration, never works so i dont know how to make it work, i installed the google cast integration, but dont detect anything (i have 4 chromecast in the network)
I think the problem is I’m running HA Supervissor via docker and i cant do net=host, i dont know how to do it, or maybe Is another problem.
Is running on Debian 10, Thanks for the support

hello
for network host:
command line:


docker run --init -d \
  --name homeassistant \
  --restart=unless-stopped \
  -v /etc/localtime:/etc/localtime:ro \
  -v /PATH_TO_YOUR_CONFIG:/config \
  --network=host \   
  homeassistant/home-assistant:stable

or with a compose:

version: '3'
services:
  homeassistant:
    container_name: homeassistant
    image: homeassistant/home-assistant:stable
    volumes:
      - /PATH_TO_YOUR_CONFIG:/config
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    network_mode: host   # <---------------------

Or if you use portainer u can move the container for host network too.
Or For only move the container with docker command line:

thanks for the answer
for what i see, the docker is runnin on my network host
But still cant find the chromecasts