Why does DDEV keep downloading docker-compose-linux?

57 Views Asked by At

Over the course of a day, my DDEV will download docker-compose many times. (20?) Randomly asking for different versions.

Downloading https://github.com/docker/compose/releases/download/v2.21.0/docker-compose-linux-x86_64
Downloading https://github.com/docker/compose/releases/download/v2.23.3/docker-compose-linux-x86_64

I've tried adding required_docker_compose_version: "v2.21.0" (and required_docker_compose_version: "v2.23.3") to my global configuration, but it appears to have no effect.

Is this appropriate behavior for DDEV? Or is there something I can configure to reduce the number of downloads?

Definitly not a show stopper. Everything else is running super-smooth.

1

There are 1 best solutions below

1
stasadev On BEST ANSWER

This is not normal behavior.

  1. Check if you have another old ddev on your Linux and remove it:

    # should return only one path, for example, /usr/bin/ddev
    which -a ddev
    
  2. Rename the global configuration file to see if any settings are interfering. Rename it back after testing:

    mv ~/.ddev/global_config.yaml ~/.ddev/global_config.yaml.bak
    # try different ddev commands
    ddev version
    ...