Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira using M1 Chip

Nader Youssef
Contributor
September 3, 2021

Hello amazing Atlassian community! :)

I'm wondering if anyone in the community has a Mac running M1 chip and using Jira inside docker. Since I am fairly new to the new ARM processor I'm unable to run jira in docker any longer.

Tried to add the parameter --platform = linux/amd64 to both my docker-compose script and the image builder but Jira does not start in both. Looking at Docker dashboard a warning message appears that this application is amd64 based and cannot use the ARM library.

Was wondering how others solved this if they want to have a local docker container for demo and testing purposes.

Cheers!

Nader

2 answers

1 accepted

2 votes
Answer accepted
Nader Youssef
Contributor
September 3, 2021

I had to do a lot of changes but I actually got it to work

For those of you who are interested there is a docker image using Jira 8.5

dchevell/jira-software-arm64 which works (tried different versions but no luck)
You should be able to upgrade to a newer version inside the docker container
But this is for another day.... at least it works for now!
Perhaps Atlassian would be interested to release a native ARM64 version for their DC releases on Docker hub :)
If anyone has other suggestions or improvments to their docker compose script please feel free to share.
Cheers!
Nader Youssef
Contributor
September 3, 2021

Additionally I have found an open FR ticket for native Jira on ARM

https://jira.atlassian.com/browse/JRASERVER-71407

vote if you are also interested as myself :)

Like # people like this
hmrks
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 24, 2021

Thanks for the recommendation! 
I'm using this compose file I found on GitHub (https://github.com/EugenMayer/docker-image-atlassian-jira )
Only changed the image to what you suggested in the compose file and it's all I needed.

plechon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 5, 2022

If you need latest version of Jira (in my case 8.21.0), you can build a custom image from https://bitbucket.org/dchevell/docker-atlassian-jira-arm64

The Dockerfile uses a base image adoptopenjdk:8-hotspot, you can update to adoptopenjdk:11-hotspot.

There is a dependency to atlassian-shared-components, checkout commit bbfb0cfaed3967383a2b15e30dd05a65842c8d3f

Enjoy.

Like hmrks likes this
Nader Youssef
Community Champion
February 1, 2022

I am unable to access the repository due to accesss restriction :(

Like hmrks likes this
0 votes
viktorianer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 16, 2022

You have to use it like:

 

docker run --platform linux/amd64 --name jira -d -p 8080:8080 atlassian/jira-software:8

Nader Youssef
Community Champion
March 17, 2022

@viktorianerjust by adding this flag doesn't fix the immediate issue as jira does not start. It halts at some point during running the startup scripts and goes into dead-lock state  (at least when i tried on my mac)

Suggest an answer

Log in or Sign up to answer