It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Official Atlassian support for JIRA on Docker

Hi

It looks like Atlassian is containerizing a handful of their products here: https://hub.docker.com/r/atlassian/ which is great!  We are using JIRA Core for internal work tracking and it is a great tool.  We hope to get more benefit out of the tool with some small customizations and a containerized JIRA instance for local development (and possibly even deployment) would make it even more awesome!  Are there any plans to add JIRA to this list of supported containers?  

If not, do you recommend any of the community made JIRA containers?  Here are a couple:

I'm also curious to know what the licensing details are - for example, can we use a temporary evaluation license for local development and then have a license for the deployed or production version?

Let me know!

11 answers

16 votes
Dave Chevell Atlassian Team Jul 20, 2018

Hey folks,

Whilst there's no official Docker support for Jira, I maintain unofficial images for all Atlassian Server product that don't provide official images here: https://hub.docker.com/r/dchevell

These are developed and maintained using the same approach, tooling and automated release process as our official images. They're great tools for testing and evaluating our products!

Hi Dave,

I notice there's an 'official' image for BitBucket Server. We were thinking about moving to BitBucket Data Centre for high availability. Would it be possible to do this using a Docker image in Kubernetes?

Regards,

Simon

Hi @dchevel

Your container is very stable, we are using it for months.
Would be great to have Docker as an official supported platform.

I just voted for JRASERVER-63993.

Like # people like this

Hi @Dave Chevell, thanks so much for your continued work on these images.

It's been a few years since I last deployed the Atlassian suite, but wasn't thinking about Docker support for Atlassian when I overhauled the small-footprint stack (only 1U) I have in the colo. I recently completed moving everything to Kubernetes. Suddenly, I realize I was almost stuck. Your images saved me, and having them come from someone on staff was a really important consideration for me.

I have been using the Atlassian suite since codehaus.org days, Mike and Scott would be on IRC with us. Things have come a very long way since then. 

Hopefully you and your efforts lead to additional first-class support for Docker images, at least across the most critical apps that haven't been finished yet, like JIRA. 

Like # people like this

Hi @Dave Chevell ,

That's great job! Are you willing to provide Dockerfile and builds for your images ?

And also i would be very much insterested in Crowd Data Center docker image. At the moment i do not see configurable environmental variable for building cluster like bitbucket docker image has. Any plans for such improvements to be available in a near future ?

Thanks

Like Dave Chevell likes this

@Karolis Eigelis all of these images are hosted and built on Bitbucket Pipelines! You can find them here:

As for Crowd, although I haven't written anything in the README about Data Center, the image can be used for that. You can just configure each node with the reverse proxy configuration - as Crowd doesn't use Hazelcast there's no additional configuration needed for a DC installation.

Like # people like this

Hi @Dave Chevell

Would be great if you could provide Crowd src repository you use for building docker images, that would be very usefull!

Hi @Dave Chevell , the current `dchevell/jira-software` image with the `latest` tag (as of 2019-06-24) leads to a ClassNotFoundException at startup. It was pushed 10 days ago. The `7` tag works fine, which was pushed 6 days ago.

Dave Chevell Atlassian Team Jun 24, 2019

@Philipp Gillé I can't reproduce this, if you can open an issue on the Bitbucket repo with more detail, the exact `docker run` command you're using etc. I'd be happy to look into this for you!

Might be related to Windows or the Docker version, I just tried it on my Linux machine and couldn't reproduce it there myself, but definitely reproducable on my coworker's Windows machine. I created an issue in Bitbucket: https://bitbucket.org/dchevell/docker-atlassian-jira-software/issues/8/classnotfoundexception-when-using-latest. Thanks for offering help!

There is a Docker image for JIRA with Dockerfile: https://hub.docker.com/r/ivantichy/jira/

You can use trial licence in container then throw it away and keep data.

 

+1 for the question. We're currently mulling whether to deploy JIRA via these community made containers or just stick to using a VM and deploy via installer.

My concern is that if went for the container route, we might not get the support we need afterwards if run into any issues.

Response from Atlassian support:

Thank you for contacting Atlassian Support!

There are no official plans to publish JIRA on Dockerhub.

It seems it is possible to run JIRA on Docker with a lot of customisation but it isn't supported officially.

This might change in the future but for the moment it is all done by the Atlassian Community and not Officially by Atlassian.

I hope this answers your question.

Kind regards,

Jeffrey Sjauw Mook
Atlassian Support

Indeed, your message is a reply to the question even if the answer is not acceptable for customers.

Having "no official plans" to support your products on Docker is just ridiculous and very questionable... But I should recognize it's new :) Your company, as many others, are used to "enhance" the reality.

At least, saying that there's no plan definitely helps !

Thanks.

 

Sorry Andrew :) I just saw that you quoted somehow Jeffrey's answer: this reply was not for you directly, but for Jeffrey (who may not even read the message...  :\ )

I ask myself if the support engineers are in sync with each other!?

I talked to an Atlassian support engineer at an event about our plans to move to JIRA Datacenter. He suggested me to first dockerize our JIRA because this makes scaling Datacenter so much easier...

Fair enough that they don't ship it as a docker container, but why should they not support a JIRA running inside docker? There should be no difference for the application if it runs inside docker or not, it is "only" a JAVA web app.

 

There are some unofficial JIRA/Docker containers out there but you're right. No reason why JIRA shouldn't be able to be fully containerized. Confluence is out there from Atlassian and working fine in a container, why not JIRA and JSD?

 

Hi Atlassian,

Is there any update to the possibility of Atlassian creating a JIRA Enterprise Docker container?

Also want an update regarding docker version of Jira.

You can use this: https://hub.docker.com/r/ivantichy/jira/

I did an update to 7.9.0. 

+1 for an official atlassian JIRA docker.

It seems odd that there is an official docker for Confluence, Bamboo agents and bitbucket server (which appear to be very recently updated), but no JIRA.

+1 think the same here. Other products are there except Jira?

Why isn't there a docker for JIRA????

Their goal is to get everyone running on a cloud provider over to Data Center

+1, I also think they should create an official container. 

+1, I also think that there should be an official container for Jira too since that make the deployment and setup of tool simpler.

I have deleted my obsolete answer...

I wouldn't hesitate to run in linux containers,  but someone else has taken over and they will move the whole thing to windows server.    Partly at fault is MySQL replication and Atlassian lack of support for MySQL.    MSSQLServer is easy to achieve HA.   From there it is not much of a leap to have the whole thing on windows native install.

Another unofficial container for JIRA Core available here: https://hub.docker.com/r/zcalusic/atlassian-jira-core/

It's based on the latest Oracle Server JRE. Been using it last several months with lots of success. Typically I upgrade soon after the new JIRA release.

JIRA Core 7.13.0 now available, based on AdoptOpenJDK HotSpot JRE, font issues resolved, added Apache Tomcat Native Library.

It has been working great!

I can't understand why they havn't dockerized Jira and Confluence, yet... Nowadays, if you didn't dockerized, even kubernetized your apps, you're from the very past.

Don't forget about the licensing details.
Even if running JIRA on Kubernetes is possible you are bound to a single instance. At least as long as Atlassian does not come up with a corresponding licensing model. 

While having a single (heavy) VM or even bare metal box is sufficient for the most users there are situations where running multiple (leightweight) instances could boost performance.

Atlassian have a Data Center license. So with that, you can scale horizontally in Kubernetes with ease. We do that with ASK for both Jira, Confluence and Bitbucket.

Heres an old video, before we made Helm charts.
https://www.youtube.com/watch?v=0yUvCZXqPZI

I am relatively new to containers, I know these are not official but does anyone run jira in docker in production? Can it be used if you have a load balanced setup?

Dave Chevell Atlassian Team Dec 13, 2018

Whilst not official, dchevell/jira-software provides experimental Data Center support. Check out the Data Center configuration section of the readme for all of the available environment variables that can be used to configure clustering.

Yes, we have companies running ASK (Atlassian Software in Kubernetes) in both server and data center mode in production.

Heres an old video, before we made helm charts.
https://www.youtube.com/watch?v=0yUvCZXqPZI

why Atlassian do not have yet Jira Official Container ???

Like # people like this

I see Jira just changed the issue from gathering interest to under consideration and possibly on the short term roadmap!

I was able to get the dchevell images working in a load balanced config, works good.

Question, are all your major version images ubuntu based? I see your docker file uses adoptopenjdk/openjdk8:slim and that is ubuntu based but I see you have some alpine tags also, are they the same except for using alpine instead of Ubuntu?

Thanks,

Dan

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Calling all Jira Cloud users! Give us feedback on our exploration of a new navigation.

Hi everyone! My name’s Matt and I’m a product manager at Atlassian. I work in the navigation & findability space for all our Jira Cloud products. We’ve been working on trying to improve the exp...

1,102 views 17 12
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you