Everything below is tested on Ubuntu 17.10.
I prefer to use Jira in a docker container because:
1. I can install Jira with a couple of commands.
2. I can start and stop Jira just by starting and stopping containers.
3. I can easily delete any Jira, which I do not need.
4. I do not make my folder structure "messy" with all kinds of jira folders.
5. I can see all Jira instances, that I am currently running, with a single command.
If to sum up all the above, docker containers make my life easier to control all available Jira instances on my pc.
If you search in google for Jira docker, then you will find the following page:
This image is not supported by Atlassian, that is why use it wisely and kindly read the Contributions part of the main page for the docker image. I use this image in my notebook for research. If you want to use it not for research, kindly test the image first.
The command, which will let you run this container, is defined like this:
docker run --detach --publish 8080:8080 cptactionhank/atlassian-jira:latest
The problem with the Jira container is:
1. Jira does not have internet access, that is why you will not be able to install plugins from the Jira UI.
2. You can not access Jira Home folder, where the logs, indexes, plugin configurations are. For example, if you have the ScriptRunner plugin, then you will not be able to work with the script folder, which is placed in the Jira Home folder.
You will be able to see the Jira logs though, if you attach to the docker container by the docker attach command.
That is why I prefer to run Jira in a docker container the following way:
1. Create a volume where all files from the Jira Home folder will be stored.
docker volume create jirahome
you can see, where the created volume is in your file system, with the following command:
docker volume inspect jirahome
The output will be like this:
2. Run Jira docker container.
docker run --detach --net host --mount source=jira78,destination=/var/atlassian/jira --publish 8080:8080 cptactionhank/atlassian-jira:latest
After that you can launch your Jira in localhost:8080. Your Jira will have internet access and you can see all files of the Jira Home folder in your local filesystem.
Alexey Matveev [cPrime]Community Champion
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs