Sending build context to Docker daemon 976.9kB
Step 1/4 : FROM cptactionhank/atlassian-jira-software:8.1.0
8.1.0: Pulling from cptactionhank/atlassian-jira-software
e7c96db7181b: Pull complete
f910a506b6cb: Pull complete
c2274a1a0e27: Pull complete
ad4c26f14427: Pull complete
9cf1f599e6aa: Pull complete
Digest: sha256:d22a123d5b9e45fb7338db171ffbb318efb593cef9ad72c359f7e0f028797bff
Status: Downloaded newer image for cptactionhank/atlassian-jira-software:8.1.0
---> f9f09151d8df
Step 2/4 : USER root
---> Running in 0e1a2a9ddcd5
Removing intermediate container 0e1a2a9ddcd5
---> a5e191f643a9
Step 3/4 : COPY "atlassian-agent.jar" /opt/atlassian/jira/
---> 756aa1b69f82
Step 4/4 : RUN echo 'export CATALINA_OPTS="-javaagent:/opt/atlassian/jira/atlassian-agent.jar ${CATALINA_OPTS}"' >> /opt/atlassian/jira/bin/setenv.sh
---> Running in ea5a4f7b83aa
Removing intermediate container ea5a4f7b83aa
---> a6f1e741d614
Successfully built a6f1e741d614
Successfully tagged jira/jira:v8.1.0
docker run --detach --publish 8080:8080 jira/jira:v8.1.0
输出
将生成的许可证复制到页面,完成破解。
### MySQL创建
```SQL
--创建jira数据库及用户
create database jiradb character set 'UTF8';
create user jirauser identified by 'jira';
grant all privileges on *.* to 'jirauser'@'%' identified by 'jira' with grant option;
grant all privileges on *.* to 'jirauser'@'localhost' identified by 'jira' with grant option;
flush privileges;
-- 设置confdb事务级别
show variables like 'tx%';
set session transaction isolation level read committed;
show variables like 'tx%';