Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-5009

`ranger_in_docker` only determines Docker Compose V1 and not Docker Compose V2

    XMLWordPrintableJSON

Details

    Description

      docker-compose --version > /dev/null 2>&1
      
      if [ $? -ne 0 ]
      then
          echo "ERROR: You must have a valid DOCKER installed on your system to do a docker build. (error running docker-compose command)"
          exit 1
      fi
      

       

      • This will prevent everyone from compiling Docker Images, because Docker Compose V2 has become a Docker Plugin, and the command is docker compose.
      • I honestly have no idea what module this actually corresponds to, the JIRA issue template requires me to set the module. I just checked the module I thought was problematic.

      Attachments

        Activity

          People

            Unassigned Unassigned
            linghengqian Qiheng He
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: