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!
Now configure the total RAM and capacity of the Docker service.
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
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
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
Here the official response from Atlassian