[
https://issues.apache.org/jira/browse/RANGER-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17747679#comment-17747679
]
Abhishek Kumar commented on RANGER-4330:
----------------------------------------
Merged in ranger-2.4 branch:
[https://github.com/apache/ranger/commit/948ff93297add2b44463d3c4ea5cee5a1cf0cc09]
> Ranger docker container fails to start due to change in ubuntu base image arch
> ------------------------------------------------------------------------------
>
> Key: RANGER-4330
> URL: https://issues.apache.org/jira/browse/RANGER-4330
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 2.4.1
> Reporter: Abhishek Kumar
> Assignee: Abhishek Kumar
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> There is a change in CPU arch from amd64 to arm64 in the ubuntu 20.04 base
> image, the Java path changes due to this which affects all docker containers
> since all images depend on this base image.
>
> Before
> ----
> abhishek.kumar@21127 ~ % docker run -ti --rm 14be0685b768 /bin/bash
>
> WARNING: The requested image's platform (linux/amd64) does not match the
> detected host platform (linux/arm64/v8) and no specific platform was requested
> root@f2f0f72e8b00:/# dpkg --print-architecture
> amd64
> After
> ----
> abhishek.kumar@21127 ~ % docker run -ti --rm ubuntu:20.04 /bin/bash
> root@4cb19655e55c:/# dpkg --print-architecture
> arm64
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)