You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiheng He (Jira)" <ji...@apache.org> on 2024/11/27 16:21:00 UTC

[jira] [Created] (RANGER-5009) `ranger_in_docker` only determines Docker Compose V1 and not Docker Compose V2

Qiheng He created RANGER-5009:
---------------------------------

             Summary: `ranger_in_docker` only determines Docker Compose V1 and not Docker Compose V2
                 Key: RANGER-5009
                 URL: https://issues.apache.org/jira/browse/RANGER-5009
             Project: Ranger
          Issue Type: Bug
          Components: admin, audit, build-infra, documentation, ger, intg, kms, plugins, Ranger, tagsync, usersync
            Reporter: Qiheng He


- *ranger_in_docker* only determines Docker Compose V1 and not Docker Compose V2. See [https://github.com/apache/ranger/blob/release-ranger-2.5.0/ranger_in_docker#L136] .

{code:none}
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
{code}
 
 - 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)