Deprecated - use atlassian/jira-software
1M+
This repository is now being published and developed under https://hub.docker.com/r/atlassian
You can find the most up to date version of all of Atlassian's Jira Docker images here:
JIRA Software is a software development tool used by agile teams.
Learn more about JIRA Software: https://www.atlassian.com/software/jira
This Docker container makes it easy to get an instance of JIRA Software up and running.
For the JIRA_HOME directory that is used to store application data (amongst
other things) we recommend mounting a host directory as a data
volume,
or via a named volume if using a docker version >= 1.9.
Additionally, if running Jira in Data Center mode it is required that a shared
filesystem is mounted. The mountpoint (inside the container) can be configured
with JIRA_SHARED_HOME.
To get started you can use a data volume, or named volumes. In this example we'll use named volumes.
$> docker volume create --name jiraVolume
$> docker run -v jiraVolume:/var/atlassian/application-data/jira --name="jira" -d -p 8080:8080 dchevell/jira-software
Success. JIRA is now available on http://localhost:8080*
Please ensure your container has the necessary resources allocated to it. We recommend 2GiB of memory allocated to accommodate the application server. See System Requirements for further information.
* Note: If you are using docker-machine on Mac OS X, please use open http://$(docker-machine ip default):8080 instead.
If you need to override JIRA's default memory allocation, you can control the minimum heap (Xms) and maximum heap (Xmx) via the below environment variables.
JVM_MINIMUM_MEMORY (default: 384m)
The minimum heap size of the JVM
JVM_MAXIMUM_MEMORY (default: 768m)
The maximum heap size of the JVM
If JIRA is run behind a reverse proxy server (e.g. a load-balancer or nginx server) as described here, then you need to specify extra options to make JIRA aware of the setup. They can be controlled via the below environment variables.
ATL_PROXY_NAME (default: NONE)
The reverse proxy's fully qualified hostname. CATALINA_CONNECTOR_PROXYNAME
is also supported for backwards compatability.
ATL_PROXY_PORT (default: NONE)
The reverse proxy's port number via which JIRA is
accessed. CATALINA_CONNECTOR_PROXYPORT is also supported for backwards
compatability.
ATL_TOMCAT_PORT (default: 8080)
The port for Tomcat/Jira to listen on. Depending on your container deployment method this port may need to be exposed and published.
ATL_TOMCAT_SCHEME (default: http)
The protocol via which JIRA is accessed. CATALINA_CONNECTOR_SCHEME is also
supported for backwards compatability.
ATL_TOMCAT_SECURE (default: false)
Set 'true' if ATL_TOMCAT_SCHEME is 'https'. CATALINA_CONNECTOR_SECURE is
also supported for backwards compatability.
ATL_TOMCAT_CONTEXTPATH (default: NONE)
The context path the application is served over. CATALINA_CONTEXT_PATH is
also supported for backwards compatability.
The following Tomcat/Catalina options are also supported. For more information, see https://tomcat.apache.org/tomcat-7.0-doc/config/index.html.
ATL_TOMCAT_MGMT_PORT (default: 8005)ATL_TOMCAT_MAXTHREADS (default: 200)ATL_TOMCAT_MINSPARETHREADS (default: 10)ATL_TOMCAT_CONNECTIONTIMEOUT (default: 20000)ATL_TOMCAT_ENABLELOOKUPS (default: false)ATL_TOMCAT_PROTOCOL (default: HTTP/1.1)ATL_TOMCAT_ACCEPTCOUNT (default: 10)If you need to pass additional JVM arguments to JIRA, such as specifying a custom trust store, you can add them via the below environment variable
JVM_SUPPORT_RECOMMENDED_ARGS
Additional JVM arguments for JIRA
Example:
$> docker run -e JVM_SUPPORT_RECOMMENDED_ARGS=-Djavax.net.ssl.trustStore=/var/atlassian/application-data/jira/cacerts -v jiraVolume:/var/atlassian/application-data/jira --name="jira" -d -p 8080:8080 dchevell/jira-software
It is optionally possible to configure the database from the environment, avoiding the need to do so through the web startup screen.
The following variables are all must all be supplied if using this feature:
ATL_JDBC_URL
The database URL; this is database-specific.
ATL_JDBC_USER
The database user to connect as.
ATL_JDBC_PASSWORD
The password for the database user.
ATL_DB_DRIVER
The JDBC driver class; supported drivers are:
com.microsoft.sqlserver.jdbc.SQLServerDrivercom.mysql.jdbc.Driveroracle.jdbc.OracleDriverorg.postgresql.DriverThe driver must match the DB type (see next entry).
ATL_DB_TYPE
The type of database; valid supported values are:
mssqlmysqloracle10gpostgres72The following variables are for the Tomcat JDBC connection pool, and are optional. For more information on these see: https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
ATL_DB_MAXIDLE (default: 20)ATL_DB_MAXWAITMILLIS (default: 30000)ATL_DB_MINEVICTABLEIDLETIMEMILLIS (default: 5000)ATL_DB_MINIDLE (default: 10)ATL_DB_POOLMAXSIZE (default: 100)ATL_DB_POOLMINSIZE (default: 20)ATL_DB_REMOVEABANDONED (default: true)ATL_DB_REMOVEABANDONEDTIMEOUT (default: 300)ATL_DB_TESTONBORROW (default: false)ATL_DB_TESTWHILEIDLE (default: true)ATL_DB_TIMEBETWEENEVICTIONRUNSMILLIS (default: 30000)This docker image can be run as part of a Data Center cluster. You can specify the following properties to start Jira as a Data Center node, instead of manually configuring a cluster.properties file, See Installing Jira Data Center for more information on each property and its possible configuration.
CLUSTERED (default: false)
Set 'true' to enable clustering configuration to be used. This will create a
cluster.properties file inside the container's $JIRA_HOME directory.
JIRA_NODE_ID (default: jira_node_)
The unique ID for the node. By default, this includes a randomly generated ID unique to each container, but can be overridden with a custom value.
JIRA_SHARED_HOME (default: $JIRA_HOME/shared)
The location of the shared home directory for all Jira nodes. Note: This must be real shared filesystem that is mounted inside the container.
EHCACHE_PEER_DISCOVERY (default: default)
Describes how nodes find each other.
EHCACHE_LISTENER_HOSTNAME (default: NONE)
The hostname of the current node for cache communication. Jira Data Center will resolve this this internally if the parameter isn't set.
EHCACHE_LISTENER_PORT (default: 40001)
The port the node is going to be listening to. Depending on your container deployment method this port may need to be exposed and published.
EHCACHE_OBJECT_PORT (default: dynamic)
The port number on which the remote objects bound in the registry receive calls. This defaults to a free port if not specified. This port may need to be exposed and published.
EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS (default: 2000)
The default timeout for the Ehcache listener.
EHCACHE_MULTICAST_ADDRESS (default: NONE)
A valid multicast group address. Required when EHCACHE_PEER_DISCOVERY is set to 'automatic' instead of 'default'.
EHCACHE_MULTICAST_PORT (default: NONE)
The dedicated port for the multicast heartbeat traffic. Required when EHCACHE_PEER_DISCOVERY is set to 'automatic' instead of 'default'. Depending on your container deployment method this port may need to be exposed and published.
EHCACHE_MULTICAST_TIMETOLIVE (default: NONE)
A value between 0 and 255 which determines how far the packets will propagate. Required when EHCACHE_PEER_DISCOVERY is set to 'automatic' instead of 'default'.
EHCACHE_MULTICAST_HOSTNAME (default: NONE)
The hostname or IP of the interface to be used for sending and receiving multicast packets. Required when EHCACHE_PEER_DISCOVERY is set to 'automatic' instead of 'default'.
By default the Jira logs are written inside the container, under
${JIRA_HOME}/logs/. If you wish to expose this outside the container (e.g. to
be aggregated by logging system) this directory can be a data volume or bind
mount. Additionally, Tomcat-specific logs are written to
/opt/atlassian/jira/logs/.
To upgrade to a more recent version of JIRA you can simply stop the jira container and start a new one based on a more recent image:
$> docker stop jira
$> docker rm jira
$> docker run ... (See above)
As your data is stored in the data volume directory on the host it will still be available after the upgrade.
Note: Please make sure that you don't accidentally remove the jira container and its volumes using the -v option.
For evaluations you can use the built-in database that will store its files in the JIRA home directory. In that case it is sufficient to create a backup archive of the docker volume.
If you're using an external database, you can configure JIRA to make a backup automatically each night. This will back up the current state, including the database to the jiraVolume docker volume, which can then be archived. Alternatively you can backup the database separately, and continue to create a backup archive of the docker volume to back up the JIRA Home directory.
Read more about data recovery and backups: https://confluence.atlassian.com/adminjiraserver071/backing-up-data-802592964.html
The latest tag matches the most recent release of Atlassian JIRA Software. Thus dchevell/jira-software:latest will use the newest version of JIRA available.
Alternatively you can use a specific major, major.minor, or major.minor.patch version of JIRA Software by using a version number tag:
dchevell/jira-software:7dchevell/jira-software:7.5dchevell/jira-software:7.5.0All versions from 7.0+ are available
This Docker container is unsupported and is intended for illustration purposes only.
Content type
Image
Digest
Size
374.7 MB
Last updated
about 7 years ago
docker pull dchevell/jira-software:7