[
https://issues.apache.org/jira/browse/RANGER-5009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18024734#comment-18024734
]
Madhan Neethiraj commented on RANGER-5009:
------------------------------------------
master branch:
https://github.com/apache/ranger/commit/89d44525d82f0b1650af8af86ca846410f2f0f3c
ranger-2.8 branch:
https://github.com/apache/ranger/commit/5ea1afafe5284e95ac6b56c943d8e91a7fa955ae
> `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: docker
> Reporter: Qiheng He
> Assignee: Chinmay N Hegde
> Priority: Major
> Fix For: 3.0.0, 2.8.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> - *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)