Even if you have two vm clones with different mac addresses, you need to tell ubuntu how exactly the machine identifies itself on the network for the two clones to get separate ip addresses.
docker compose version: "3" # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.