下载镜像
docker pull cptactionhank/atlassian-jira-software:8.1.0
创建对应映射文件夹
mkdir /data/app/jira \
mkdir /data/app/jira/localtime
运行
docker run -d -p 8080:8080 --name jira-software -v /data/app/jira/localtime:/etc/localtime cptactionhank/atlassian-jira-software:8.1.0
Mysql 创建Jira库
CREATE DATABASE jiradb CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
GRANT ALL on jiradb.* TO 'jira'@'%' IDENTIFIED BY 'Jira#123';
flush privileges;
破解版7.11.1
1.拉取jira的docker镜像
docker pull cptactionhank/atlassian-jira-software:7.11.1
2.启动jira容器
docker run --name jira --detach --restart always --publish 8080:8080 cptactionhank/atlassian-jira-software:7.11.1
3.备份atlassian-extras-3.2.jar
docker exec --user root jira mv /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-3.2.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-3.2.jar_bak
4.复制破解文件atlassian-extras-3.1.2.jar到指定目录
docker cp atlassian-extras-3.1.2.jar jira:/opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
5.重启jira
docker restart jira
6.访问配置
打开http://192.168.40.59:8080/,按照提示配置即可