To do this exercise Docker must be installed and running in your Mac computer.

We will use Docker Desktop for Mac (download from here).

After the install process, open it!

Captura de pantalla 2019-10-13 a las 22.23.32

Captura de pantalla 2019-10-13 a las 19.51.22

Now configure the total RAM and capacity of the Docker service.

Captura de pantalla 2019-10-13 a las 22.24.15

Now we are ready to start! Just open the Command Line Terminal and execute this lines in the shell.

docker volume create --name jiraVolume
docker run -v jiraVolume:/var/atlassian/application-data/jira --name="jira" -d -p 8080:8080 atlassian/jira-software

Jira Software is now available on http://localhost:8080

Here more info about the Jira Docker container

Captura de pantalla 2019-10-13 a las 19.20.46

Captura de pantalla 2019-10-13 a las 19.21.21

Now we are ready to start with Confluence! Just execute this lines in the shell.

docker volume create --name confluenceVolume
docker run -v confluenceVolume:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server

Confluence is now available on http://localhost:8090

Here more info about the Confluence Docker container

Captura de pantalla 2019-10-13 a las 19.27.58

Captura de pantalla 2019-10-13 a las 19.41.26

That’s all! As I have promised, only 5 minutes!

Now you can learn other commands for Docker, very useful like in the picture below

  • docker images
  • docker ps
  • docker inspect ID | grep “IPAddress”
  • docker volume ls
  • docker volume inspect jiraVolume
  • docker start jira
  • docker stop jira
  • docker start confluence
  • docker stop confluence

Captura de pantalla 2019-10-13 a las 19.51.08

By MrAddon

Here the official response from Atlassian

Captura de pantalla 2019-10-13 a las 23.10.15

Posted by:.

3 replies on “How to install Jira and Confluence in your Mac in 5 minutes using Docker

  1. Hi, can you please show me how to set up a Jira Container which connects (Application Link) with Confluence container in the local development computer?

    Let say I have two containers: Jira and Confluence, the name respectively are:
    – “jira-container”
    – “confluence-container”

    I connected two of them to the same network, so they can find each other via the URL: “confluence-container:8090” and “jira-container:8080” and I can create a link between them.
    But because I publish the port from container to my local dev computer. So from my browser, I can access them via “localhost:8080”. The problem is with this setup, every Web Item (link) which Jira generate to the UI will be “confluence-container:8090”, not “localhost:8090”, it means this link is useless.

    So how do I setup a system like this?

    Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s