Docker Pihole does not work

Hi I already have a docker pi hole running perfectly on a PI but I want to move some load from that pi to a laptop im not using. I install first Ubuntu server and then Fedora server and still having exactly the same problem if I forward the ports in the docker compose everything works fine but since I need DHCP I have tu use network host. At first I was having a problem with system-resolved and the port 53 not binding but I resolved that uncommenting ```
DNSStubListener=no
in the resolved.conf file. I try it without DHCP server only the DNS and still no luck. I think I'm missing something but I don't know what it is

docker compose

version: '2'

volumes:
  etc_pihole:
  etc_pihole_dnsmasq:
  
services:
  pihole:
    image: pihole/pihole:latest
    container_name: pihole
    network_mode: host
    restart: unless-stopped
    hostname: linuxbookpro
    cap_add:
      -  NET_ADMIN
    volumes:
      - etc_pihole:/etc/pihole:rw
      - etc_pihole_dnsmasq:/etc/dnsmasq.d:rw
    environment:
      - WEBPASSWORD=password
      - ServerIP=10.1.11.10
      - VIRTUAL_HOST=pi.hole
      - PROXY_LOCATION=pi.hole
      - TZ=America/New_York
    dns:
      - 127.0.0.1
      - 1.1.1.1

docker log


 ::: Starting docker specific checks & setup for docker pihole/pihole


  [i] Installing configs from /etc/.pihole...

  [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!

  [i] Installing /etc/dnsmasq.d/01-pihole.conf...
  [✓] Installed /etc/dnsmasq.d/01-pihole.conf

  [i] Installing /etc/.pihole/advanced/06-rfc6761.conf...
  [✓] Installed /etc/dnsmasq.d/06-rfc6761.conf

Existing DNS servers detected in setupVars.conf. Leaving them alone

::: Pre existing WEBPASSWORD found

DNSMasq binding to default interface: eth0

Added ENV to php:

			"PHP_ERROR_LOG" => "/var/log/lighttpd/error.log",

			"ServerIP" => "10.1.11.10",

			"CORS_HOSTS" => "",

			"VIRTUAL_HOST" => "pi.hole",

Using IPv4 and IPv6

::: Preexisting ad list /etc/pihole/adlists.list detected ((exiting setup_blocklists early))

https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

sudo: unable to resolve host linuxbookpro: Name or service not known

::: Testing pihole-FTL DNS: FTL started!

::: Testing lighttpd config: Syntax OK

::: All config checks passed, cleared for startup ...

::: Enabling Query Logging

  [i] Enabling logging...


  [✓] Logging has been enabled!

 ::: Docker start setup complete

  Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf

  Pi-hole version is v5.6 (Latest: v5.6)

  AdminLTE version is v5.8 (Latest: v5.8)

  FTL version is v5.11 (Latest: v5.11)

  Container tag is: 2021.10.1

[cont-init.d] 20-start.sh: exited 0.

[cont-init.d] done.

[services.d] starting services

Starting lighttpd

Starting crond

Starting pihole-FTL (no-daemon) as root

[services.d] done.

Stopping pihole-FTL

Starting pihole-FTL (no-daemon) as root

Thanks