Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

Install Atlassian Jira with Docker: Quick Start, Persistent Volumes, and Deployment Checks

Running Jira in Docker is a fast way to stand up a lab, demo, or self-managed test instance. This updated guide keeps the original command, explains what it does, and adds safer patterns for persistence, repeatability, and operational checks.

Originally published on 2016-02-23; fully revised and updated.

install-atlassian-jira-using-docker

The original one-line Jira container command

The original post used this command to start Jira and publish the web UI on port 8080:

docker run --detach --publish 8080:8080 cptactionhank/atlassian-jira:latest

After startup, open http://localhost:8080 (or http://[dockerhost]:8080) and complete the Jira setup wizard.

Jira-in-Docker workflow

flowchart TD
    A[Choose image and tag] --> B[Prepare persistent storage]
    B --> C[Run container with port mapping]
    C --> D[Open setup wizard on port 8080]
    D --> E[Configure Jira and admin account]
    E --> F[Validate restart and data persistence]
    F --> G[Add backup and upgrade process]

Quick-start options compared

OptionExamplePersistenceBest for
Original one-linerdocker run --detach --publish 8080:8080 cptactionhank/atlassian-jira:latestNo explicit volumeVery quick local evaluation
Run with named volumedocker run --detach --name jira --publish 8080:8080 --volume jira_home:/var/atlassian/jira cptactionhank/atlassian-jira:latestYesLocal testing with retained data
Docker Compose baselinedocker compose up -d from a compose fileYesRepeatable team setup

Commands you can run now

Original command from the post

docker run --detach --publish 8080:8080 cptactionhank/atlassian-jira:latest

Run with a named volume for Jira home data

docker volume create jira_home

docker run --detach \
  --name jira \
  --publish 8080:8080 \
  --volume jira_home:/var/atlassian/jira \
  cptactionhank/atlassian-jira:latestCode language: JavaScript (javascript)

This keeps Jira home data in a Docker-managed volume so data can survive container recreation.

Docker Compose baseline

services:
  jira:
    image: cptactionhank/atlassian-jira:latest
    container_name: jira
    ports:
      - "8080:8080"
    volumes:
      - jira_home:/var/atlassian/jira
    restart: unless-stopped

volumes:
  jira_home:Code language: JavaScript (javascript)
docker compose up -d

Important paths from the original post

PathMeaningWhy it matters
/var/atlassian/jiraJira home locationPersist this path to retain application data
/opt/atlassian/jiraJira installation locationContainer image binaries live here

These paths were listed in the original article and are commonly used in Jira container images, but confirm against the exact image and tag you run.

Post-start validation checks

docker ps --filter name=jira
docker logs -f jira
curl -I http://localhost:8080

docker restart jira
docker ps --filter name=jiraCode language: JavaScript (javascript)
  • If the HTTP endpoint responds, the web service is reachable.
  • After restart, verify Jira can still access existing data and configuration.
  • If startup is slow, keep watching container logs until the web UI is ready.

Reference and attribution

Original post permalink: https://www.devopsschool.com/blog/install-atlassian-jira-using-docker/

Original image/reference source: https://hub.docker.com/r/cptactionhank/atlassian-jira/

The original page also contained a broken YouTube gallery embed; related troubleshooting link preserved here: https://www.youtube.com/watch?v=ZCfrNvu6nMc

Best practices and common pitfalls

  • Avoid unpinned tags for reproducible environments; use a specific image tag after validation.
  • Persist Jira home data with a Docker volume or host mount before doing meaningful setup work.
  • Validate image provenance and maintenance status, especially for community images.
  • Plan backup and restore for Jira home data before upgrades or host changes.
  • Treat this as a starting point; confirm current Atlassian guidance for production-grade deployments.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Jira on Linux: Installation and Configuration with Safer Service and Firewall Setup

Learn how to install Jira on Linux using Atlassian’s installer, manage it as a service, and expose port 8080 safely. This revision keeps the original references but updates the process for clearer, production-minded operations.

Read More

Top Jira interview questions and answers

What is the full form of Jira? JIRA is a tool developed by Australian Company Atlassian. … The JIRA’s full form is actually inherited from the Japanese word…

Read More

Jira Interview Questions and Answers – Part 4

Who is considered the father of Kanban in software? Xavier Morera David J. Anderson (Ans) Taichi Ohno Michael Vizdos Regarding new items to be worked on immediately,…

Read More

Jira Interview Questions and Answers – Part 3

How would you share a query with another JIRA user? Send the JIRA query in as text in an email Create a dashboard with the query and…

Read More

Jira Interview Questions and Answers – Part 2

What type of project should we create in Jira for the purpose of this training? Agile Scrum (Ans) Kanban Jira classic Gantt-chart project The following is only…

Read More

Jira Interview Questions and Answers – Part 1

What commandline tool you access in order to increase the memory for JIRA? servicemem.exe tomcat7w.exe (Ans) jirasetup.exe perfmon.exe What does public mode mean in JIRA? You can…

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
sreeni
sreeni
4 years ago

–publish , not -publish

1
0
Would love your thoughts, please comment.x
()
x