Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶

这篇具有很好参考价值的文章主要介绍了Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

省流:

bitbucket 只能安装6版本及其以下,原因会在下面说明,其他可按需安装。

注意:

还是不太推荐使用docker部署,官网也是不支持docker部署相关技术解答,所以资料都比较少。这边后面再配置统一登录的时候出现了问题,冒出了ip的问题,172开头的;之前不用docker部署,是没问题的。
Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶,docker,atlassian,容器,docker-compose,jira,confluence

解决方案:

将对应ip换为容器内的虚拟ip,但防止每次部署会发生改变,建议使用容器别名。
Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶,docker,atlassian,容器,docker-compose,jira,confluence
Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶,docker,atlassian,容器,docker-compose,jira,confluence

1.docker-compose文件

version: '3'

# 定义通用配置
x-common-config: &common-config
  environment:
    TZ: Asia/Shanghai
    LANG: en_US.UTF-8

services:
  jira:
    image: atlassian/jira-software:latest
    container_name: jira
    restart: always
    ports:
      - "8080:8080"
    depends_on:
      - atlassiandb
    environment:
      - DB_HOST=jira-db
      - DB_PORT=5432
      - DB_NAME=jiradb
      - DB_USER=jira
      - DB_PASSWORD=jira
      - CATALINA_OPTS=-javaagent:/opt/atlassian/jira/atlassian-agent.jar
    volumes:
      - ./jira/logs:/opt/atlassian/jira/logs
      - ./jira/data:/var/atlassian/application-data/jira
      - ./atlassian-agent.jar:/opt/atlassian/jira/atlassian-agent.jar
 
  confluence:
    image: atlassian/confluence-server:latest
    container_name: confluence
    restart: always
    ports:
      - "8090:8090"
      - "8091:8091"
    depends_on:
      - atlassiandb
    environment:
      - DB_HOST=confluence-db
      - DB_PORT=5432
      - DB_NAME=confluencedb
      - DB_USER=conf
      - DB_PASSWORD=conf
      - CATALINA_OPTS=-javaagent:/opt/atlassian/confluence/atlassian-agent.jar
    volumes:
      - ./confluence/logs:/opt/atlassian/confluence/logs
      - ./confluence/data:/var/atlassian/application-data/confluence
      - ./atlassian-agent.jar:/opt/atlassian/confluence/atlassian-agent.jar
 
  bitbucket:
    image: atlassian/bitbucket-server:7.21.20
    container_name: bitbucket
    restart: always
    ports:
      - "7990:7990"
      - "7999:7999"
    depends_on:
      - atlassiandb
    environment:
      - DB_HOST=bitbucket-db
      - DB_PORT=5432
      - DB_NAME=bitbucketdb
      - DB_USER=bitbucket
      - DB_PASSWORD=bitbucket
      - CATALINA_OPTS=-javaagent:/opt/atlassian/bitbucket/atlassian-agent.jar
    volumes:
      #- ./bitbucket/logs:/opt/atlassian/bitbucket/logs
      - ./bitbucket/data:/var/atlassian/application-data/bitbucket
      - ./atlassian-agent.jar:/opt/atlassian/bitbucket/atlassian-agent.jar
 
  bamboo:
    image: atlassian/bamboo-server:latest
    container_name: bamboo
    restart: always
    ports:
      - "8085:8085"
    depends_on:
      - atlassiandb
    environment:
      - DB_HOST=bamboo-db
      - DB_PORT=5432
      - DB_NAME=bamboodb
      - DB_USER=bamboo
      - DB_PASSWORD=bamboo
      - CATALINA_OPTS=-javaagent:/opt/atlassian/bamboo/atlassian-agent.jar
    volumes:
      - ./bamboo/logs:/opt/atlassian/bamboo/logs
      - ./bamboo/data:/var/atlassian/application-data/bamboo
      - ./atlassian-agent.jar:/opt/atlassian/bamboo/atlassian-agent.jar
 
  crowd:
    image: atlassian/crowd:latest
    container_name: crowd
    restart: always
    ports:
      - "8095:8095"
    depends_on:
      - atlassiandb
    environment:
      - DB_HOST=crowd-db
      - DB_PORT=5432
      - DB_NAME=crowddb
      - DB_USER=crowd
      - DB_PASSWORD=crowd
      - CATALINA_OPTS=-javaagent:/opt/atlassian/crowd/atlassian-agent.jar
    volumes:
      - ./crowd/logs:/opt/atlassian/crowd/logs
      - ./crowd/data:/var/atlassian/application-data/crowd
      - ./atlassian-agent.jar:/opt/atlassian/crowd/atlassian-agent.jar
 
  atlassiandb:
    image: postgres:14.10
    container_name: atlassiandb
    restart: always
    ports:
      - "5432:5432"
    environment:
      - POSTGRES_USER=root
      - POSTGRES_PASSWORD=root
      - POSTGRES_DB=postgres
      - ALLOW_IP_RANGE=0.0.0.0/0 # 允许所有ip访问
    volumes:
      - ./atlassiandb/data:/var/lib/postgresql/data

2.其他服务都正常启动,唯独Bitbucket不行。

# A fatal error has occurred
# The following problem occurred, which prevents Atlassian Bitbucket from starting:

# SpringMVC dispatcher [springMvc] could not be started

# 切换镜像 atlassian/bitbucket-server:latest 还是一样在问题

日志错误

Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶,docker,atlassian,容器,docker-compose,jira,confluence

刚启动时候

2024-01-12 07:19:16,455 WARN  [spring-startup]  c.a.s.i.s.git.hook.GitHookInstaller Native hook callback '/hook-callback/x86_64-linux/mesh-callback' is incompatible with the current platform (Linux 5.10.16.3-microsoft-standard-WSL2 amd64). Falling back to the perl version.
2024-01-12 07:19:16,458 WARN  [spring-startup]  o.s.w.c.s.XmlWebApplicationContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gitHookInstaller' defined in com.atlassian.stash.internal.scm.git.GitWiring$LocalWiring: Invocation of init method failed; nested exception is java.io.IOException: No such file or directory
2024-01-12 07:19:16,531 INFO  [spring-startup]  c.a.s.internal.home.HomeLockAcquirer Releasing lock on /var/atlassian/application-data/bitbucket/shared
2024-01-12 07:19:16,837 INFO  [spring-startup]  c.a.s.internal.home.HomeLockAcquirer Releasing lock on /var/atlassian/application-data/bitbucket
2024-01-12 07:19:16,841 ERROR [spring-startup]  c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be started
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gitHookInstaller' defined in com.atlassian.stash.internal.scm.git.GitWiring$LocalWiring: Invocation of init method failed; nested exception is java.io.IOException: No such file or directory
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:921)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
	at javax.servlet.GenericServlet.init(GenericServlet.java:143)
	at java.base/java.lang.Thread.run(Thread.java:829)
	... 15 frames trimmed
Caused by: java.io.IOException: No such file or directory
	at java.base/sun.nio.ch.FileDispatcherImpl.size0(Native Method)
	at java.base/sun.nio.ch.FileDispatcherImpl.size(FileDispatcherImpl.java:90)
	at java.base/sun.nio.ch.FileChannelImpl.size(FileChannelImpl.java:383)
	at java.base/sun.nio.ch.FileChannelImpl.transferFrom(FileChannelImpl.java:772)
	at com.atlassian.stash.internal.scm.git.DefaultGitRepositoryLayout.installHook(DefaultGitRepositoryLayout.java:128)
	at com.atlassian.stash.internal.scm.git.hook.GitHookInstaller.installHooks(GitHookInstaller.java:146)
	at com.atlassian.stash.internal.scm.git.hook.GitHookInstaller.lambda$installHooks$0(GitHookInstaller.java:113)
	at com.atlassian.stash.internal.user.DefaultEscalatedSecurityContext.call(DefaultEscalatedSecurityContext.java:59)
	at com.atlassian.stash.internal.scm.git.hook.GitHookInstaller.installHooks(GitHookInstaller.java:112)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	... 5 common frames omitted

重启后

2024-01-12 07:23:27,754 WARN  [spring-startup]  c.a.s.i.s.git.hook.GitHookInstaller Native hook callback '/hook-callback/x86_64-linux/mesh-callback' is incompatible with the current platform (Linux 5.10.16.3-microsoft-standard-WSL2 amd64). Falling back to the perl version.
2024-01-12 07:23:27,758 WARN  [spring-startup]  o.s.w.c.s.XmlWebApplicationContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gitHookInstaller' defined in com.atlassian.stash.internal.scm.git.GitWiring$LocalWiring: Invocation of init method failed; nested exception is java.nio.file.FileAlreadyExistsException: /var/atlassian/application-data/bitbucket/shared/config/git/hooks/pack-objects.tmp -> /var/atlassian/application-data/bitbucket/shared/config/git/hooks/tmp-4744d874aea89ebe-pack-objects.tmp
2024-01-12 07:23:27,852 INFO  [spring-startup]  c.a.s.internal.home.HomeLockAcquirer Releasing lock on /var/atlassian/application-data/bitbucket/shared
2024-01-12 07:23:27,884 INFO  [spring-startup]  c.a.s.internal.home.HomeLockAcquirer Releasing lock on /var/atlassian/application-data/bitbucket
2024-01-12 07:23:27,890 ERROR [spring-startup]  c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be started
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gitHookInstaller' defined in com.atlassian.stash.internal.scm.git.GitWiring$LocalWiring: Invocation of init method failed; nested exception is java.nio.file.FileAlreadyExistsException: /var/atlassian/application-data/bitbucket/shared/config/git/hooks/pack-objects.tmp -> /var/atlassian/application-data/bitbucket/shared/config/git/hooks/tmp-4744d874aea89ebe-pack-objects.tmp
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:921)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
	at javax.servlet.GenericServlet.init(GenericServlet.java:143)
	at java.base/java.lang.Thread.run(Thread.java:829)
	... 15 frames trimmed
Caused by: java.nio.file.FileAlreadyExistsException: /var/atlassian/application-data/bitbucket/shared/config/git/hooks/pack-objects.tmp -> /var/atlassian/application-data/bitbucket/shared/config/git/hooks/tmp-4744d874aea89ebe-pack-objects.tmp
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:94)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixFileSystemProvider.createLink(UnixFileSystemProvider.java:481)
	at java.base/java.nio.file.Files.createLink(Files.java:1102)
	at com.atlassian.stash.internal.scm.git.DefaultGitRepositoryLayout.openLockWithHardLink(DefaultGitRepositoryLayout.java:327)
	at com.atlassian.stash.internal.scm.git.DefaultGitRepositoryLayout.installHook(DefaultGitRepositoryLayout.java:127)
	at com.atlassian.stash.internal.scm.git.hook.GitHookInstaller.installHooks(GitHookInstaller.java:146)
	at com.atlassian.stash.internal.scm.git.hook.GitHookInstaller.lambda$installHooks$0(GitHookInstaller.java:113)
	at com.atlassian.stash.internal.user.DefaultEscalatedSecurityContext.call(DefaultEscalatedSecurityContext.java:59)
	at com.atlassian.stash.internal.scm.git.hook.GitHookInstaller.installHooks(GitHookInstaller.java:112)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	... 5 common frames omitted

查询分析原因

根据提供的日志信息,Bitbucket 在部署时遇到了两个警告和错误:

  1. 警告:Native hook callback '/hook-callback/x86_64-linux/mesh-callback' is incompatible with the current platform (Linux 5.10.16.3-microsoft-standard-WSL2 amd64). Falling back to the perl version. 这个警告表示 Bitbucket 检测到使用的本机钩子回调与当前平台不兼容。由于环境不匹配,Bitbucket 将使用 perl 版本的钩子回调来代替。
  2. 错误:Error creating bean with name 'gitHookInstaller' defined in com.atlassian.stash.internal.scm.git.GitWiring$LocalWiring: Invocation of init method failed; nested exception is java.io.IOException: No such file or directory 这个错误表示创建 gitHookInstaller bean 失败,原因是找不到指定的文件或目录。这可能是由于配置错误或缺失的文件导致的。
  3. 警告:Native hook callback '/hook-callback/x86_64-linux/mesh-callback' is incompatible with the current platform (Linux 5.10.16.3-microsoft-standard-WSL2 amd64). Falling back to the perl version. 这个警告与第一个警告相同,表示 Bitbucket 检测到使用的本机钩子回调与当前平台不兼容,并回退到 perl 版本的钩子回调。
  4. 错误:Error creating bean with name 'gitHookInstaller' defined in com.atlassian.stash.internal.scm.git.GitWiring$LocalWiring: Invocation of init method failed; nested exception is java.nio.file.FileAlreadyExistsException: /var/atlassian/application-data/bitbucket/shared/config/git/hooks/pack-objects.tmp -> /var/atlassian/application-data/bitbucket/shared/config/git/hooks/tmp-4744d874aea89ebe-pack-objects.tmp 这个错误表示创建 gitHookInstaller bean 失败,原因是在安装钩子时出现文件已存在的异常。可能是由于之前的部署或配置问题导致临时文件无法正确创建。

要解决这些问题,你可以尝试以下步骤:

  1. 确保你的环境与 Bitbucket 的要求匹配。检查操作系统、硬件和依赖项是否符合 Bitbucket 的支持要求。
  2. 检查 Bitbucket 的配置文件,确保所有路径和目录都正确设置,并且文件和目录存在。
  3. 如果你使用的是自定义钩子回调,尝试将其更改为与当前平台兼容的版本。
  4. 在重启服务之前,确认之前部署的文件已被正确清理。删除任何残留的临时文件或目录。

再针对第一点排查

这个警告表示 Bitbucket 检测到使用的本机钩子回调与当前平台不兼容。由于环境不匹配,Bitbucket 将使用 perl 版本的钩子回调来代替。要解决这个问题,你可以尝试以下几种方法:

  1. 确认操作系统和平台:首先,确认你正在运行 Bitbucket 的操作系统和平台。根据警告信息中提供的信息,你的平台是 Linux 5.10.16.3-microsoft-standard-WSL2 amd64。
  2. 检查本机钩子回调:检查 Bitbucket 中配置的本机钩子回调文件,确保其与当前平台兼容。你可以查看 Bitbucket 服务器的 hooks 目录,找到相关的本机钩子文件。
  3. 更新或修改钩子回调:如果发现你的钩子回调文件与当前平台不兼容,尝试更新或修改钩子回调文件以适应当前平台。你可以参考 Bitbucket 的官方文档和社区支持论坛,了解如何编写适应不同平台的钩子回调。
  4. 使用 Perl 版本的回调:如果你无法解决本机钩子回调的兼容性问题,可以继续使用 Bitbucket 提供的 Perl 版本的回调。虽然 Perl 版本的回调可能相对较慢,但可以在大多数情况下正常工作。

看样子是安装的bitbucket和系统环境有冲突问题?

进入容器,敲入cat /etc/os-release查看系统发行版本,再敲入uname -r查询内核信息

PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
# uname -r
5.10.16.3-microsoft-standard-WSL2

查看所安装镜像的系统配置,找到Config下的Labels
Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶,docker,atlassian,容器,docker-compose,jira,confluence

docker image inspect atlassian/bitbucket-server:7.21.20
[
    {
        "Id": "sha256:c879a968bb4a666ec370dd5b83ad096de3cc64de977cb5fe362aa142c29aff41",
        "RepoTags": [
            "atlassian/bitbucket-server:7.21.20"
        ],
        "RepoDigests": [
            "atlassian/bitbucket-server@sha256:ac799f21c576cb3cfb62ba82ebc71bd09d832981abc6009633845cd4229c6351"
        ],
        "Parent": "",
        "Comment": "",
        "Created": "2024-01-06T17:26:15.168172522Z",
        "Container": "",
        "ContainerConfig": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "7990/tcp": {},
                "7999/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "JAVA_HOME=/opt/java/openjdk",
                "LANG=en_US.UTF-8",
                "LANGUAGE=en_US:en",
                "LC_ALL=en_US.UTF-8",
                "JAVA_VERSION=jdk-11.0.21+9",
                "APP_NAME=bitbucket",
                "RUN_USER=bitbucket",
                "RUN_GROUP=bitbucket",
                "RUN_UID=2003",
                "RUN_GID=2003",
                "BITBUCKET_HOME=/var/atlassian/application-data/bitbucket",
                "BITBUCKET_INSTALL_DIR=/opt/atlassian/bitbucket",
                "SEARCH_ENABLED=true",
                "APPLICATION_MODE=default",
                "JRE_HOME=/opt/java/openjdk",
                "JAVA_BINARY=/opt/java/openjdk/bin/java"
            ],
            "Cmd": [
                "/bin/sh",
                "-c",
                "#(nop) COPY file:e2e1b4a381c573f2048dda23b1ebce103d20459018ebdd29ccf30549f2f0525b in /sbom/sbom.cdx.json "
            ],
            "Image": "sha256:e1fc55560e16833a4da34e347ba0661332ceb32041363b5d86675bc340364a21",
            "Volumes": {
                "/var/atlassian/application-data/bitbucket": {}
            },
            "WorkingDir": "/var/atlassian/application-data/bitbucket",
            "Entrypoint": [
                "/usr/bin/tini",
                "--"
            ],
            "OnBuild": null,
            "Labels": {
                "maintainer": "dc-deployments@atlassian.com",
                "org.opencontainers.image.ref.name": "ubuntu",
                "org.opencontainers.image.version": "22.04",
                "securitytxt": "https://www.atlassian.com/.well-known/security.txt"
            }
        },
        "DockerVersion": "20.10.24",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "7990/tcp": {},
                "7999/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "JAVA_HOME=/opt/java/openjdk",
                "LANG=en_US.UTF-8",
                "LANGUAGE=en_US:en",
                "LC_ALL=en_US.UTF-8",
                "JAVA_VERSION=jdk-11.0.21+9",
                "APP_NAME=bitbucket",
                "RUN_USER=bitbucket",
                "RUN_GROUP=bitbucket",
                "RUN_UID=2003",
                "RUN_GID=2003",
                "BITBUCKET_HOME=/var/atlassian/application-data/bitbucket",
                "BITBUCKET_INSTALL_DIR=/opt/atlassian/bitbucket",
                "SEARCH_ENABLED=true",
                "APPLICATION_MODE=default",
                "JRE_HOME=/opt/java/openjdk",
                "JAVA_BINARY=/opt/java/openjdk/bin/java"
            ],
            "Cmd": [
                "/entrypoint.py",
                "--log=INFO"
            ],
            "Image": "sha256:e1fc55560e16833a4da34e347ba0661332ceb32041363b5d86675bc340364a21",
            "Volumes": {
                "/var/atlassian/application-data/bitbucket": {}
            },
            "WorkingDir": "/var/atlassian/application-data/bitbucket",
            "Entrypoint": [
                "/usr/bin/tini",
                "--"
            ],
            "OnBuild": null,
            "Labels": {
                "maintainer": "dc-deployments@atlassian.com",
                "org.opencontainers.image.ref.name": "ubuntu",
                "org.opencontainers.image.version": "22.04",
                "securitytxt": "https://www.atlassian.com/.well-known/security.txt"
            }
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 2457450879,
        "VirtualSize": 2457450879,
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/016236b266988fbd891c28f4bdf3dc5f6e583eec2a6c4396fe082086280979ac/diff:/var/lib/docker/overlay2/69a69a96259bc272eccbdd63225e6577a86191ed4c9ee97a0f85d370f9457983/diff:/var/lib/docker/overlay2/31f4bbe42e59725c0c11c0e21d362c415bfb4e4d351c0c7c31e2daace402207d/diff:/var/lib/docker/overlay2/17768f3b61e0aacd891926d79cb6408543932d23f6187292a1faac9920222320/diff:/var/lib/docker/overlay2/8fd76cecdb63985f3c5dda4ee8ffdcb03568e2c3df1b9e333cb332061314b46b/diff:/var/lib/docker/overlay2/74fc5ee60e7d92937a591a0304da743b51d3da90c19750654f117468a0ec300a/diff:/var/lib/docker/overlay2/8c6c46eea76dc41dbd55e5cf9a1819c1392e98134b661ffaf3115aefbb34bf04/diff:/var/lib/docker/overlay2/8869007d89a619d018e8394217d9cba6a4590528a2ef9deb1778a0db84adecd6/diff:/var/lib/docker/overlay2/a22882adaa27f88c0d586e5ccf68ad96b0803e895a7848af0e77b453a8f4bc5c/diff:/var/lib/docker/overlay2/735a124c8af5141479a7249e2d2ea116f33f5600f1adf3d8dcca999af344a8ee/diff:/var/lib/docker/overlay2/ae7c696d717268e827aa41cbf8c0053f273bea86292791bcf9fb0d1d4b289156/diff:/var/lib/docker/overlay2/4941344f6e02303f80e7f73ac95396ea570734e34ce03ea92aaecf4a2ef0fb1e/diff:/var/lib/docker/overlay2/7a77993ff35002c9bda327b6f1a57d59e0f256d611a06bd957697f3181afff60/diff:/var/lib/docker/overlay2/a01e55a7339aa428086ac8159f2396fa9fb8c23f1585eba07add626eed32fee0/diff:/var/lib/docker/overlay2/6208546927e0df5874a4e2daf63d0a1aa55ed0095e447450cb3b44317d08a549/diff:/var/lib/docker/overlay2/8750c04df0afb2824d7cc49bb3db756c52a57992927def84bb805f74c98022ea/diff:/var/lib/docker/overlay2/8bb98745253e812637ae2353cd0470c0c7ef89012c35288446dda178f492904f/diff:/var/lib/docker/overlay2/02682e3baadaaf0b7611276ac9dbd07dcb348381a9d0087a235ce264ab3b30dd/diff:/var/lib/docker/overlay2/159813d8be504791cf6d3e57059338893f7882ee01beae5dde4081f44c376575/diff:/var/lib/docker/overlay2/1322ad0ee65e27820ba789601eecd3b1ee8ac0bd3c7a2e1e4ae9ff1ce4a35549/diff:/var/lib/docker/overlay2/f0a66628eceaa40a3ed1a0dee4a1421ba54fe007ad59891459feefe6274780fc/diff:/var/lib/docker/overlay2/0a761048559cee2bda7d520652dc5eae5ac39586486dd640db161b76361a5ee5/diff:/var/lib/docker/overlay2/6bd093e07f8ddb0f4ec05ca6f0dd4673566239750bd17422935041fa1ac7b890/diff:/var/lib/docker/overlay2/ae2d8ee8e46d7fe749a996f01a2930850abf1496eec409d78563600e421e5171/diff:/var/lib/docker/overlay2/d79e95d305f6d5315bf727d388cfa969eda3d25fc93a21fea3dae8e5516dc89c/diff:/var/lib/docker/overlay2/9c1ed571e1d715482a395a3aaac45d6de5b040e0ed8a96b4a88e0e0f7f417d43/diff:/var/lib/docker/overlay2/b477ba3c62a06f95a371bf046be5345b96f1c1bf75b1d3343da37261d59773e6/diff:/var/lib/docker/overlay2/32d7271408f772b52982a1ac6dbce5812800edb993a84a452d813896eba1b22b/diff",
                "MergedDir": "/var/lib/docker/overlay2/81737589b2833b66e6ac8bfa1a702cf0f19543d740d22d5d8f6791acd108a6fd/merged",
                "UpperDir": "/var/lib/docker/overlay2/81737589b2833b66e6ac8bfa1a702cf0f19543d740d22d5d8f6791acd108a6fd/diff",
                "WorkDir": "/var/lib/docker/overlay2/81737589b2833b66e6ac8bfa1a702cf0f19543d740d22d5d8f6791acd108a6fd/work"
            },
            "Name": "overlay2"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:a1360aae5271bbbf575b4057cb4158dbdfbcae76698189b55fb1039bc0207400",
                "sha256:8f51a32da2dedb6180408f11479960cbce68d78c4bb35b5fd22ebb9853d64d76",
                "sha256:21f256208a919dc6b574b74d7a7aa17d44e2d7233c9d9690a8da715e40c81885",
                "sha256:6dd56ceb442b5a52a59f3f56c1f7e4351d472ee20dd55fbc6b0191ecc52e7697",
                "sha256:7a2648dbf8bc31ee9cc47c23075f375334a19c1fc1888de6c008bb48b538665c",
                "sha256:83ffb9b5d7faae47376315a77b830ee255b61f9740d442c730eaa47b00844571",
                "sha256:f34c0d1bbfca950a3bd98f676be6278fbde0cb4da45cd6de48431cfa85018e52",
                "sha256:a60cd6ce849ca416458b53a2efef2f4f7ffe5c1c43fdaf137f56b489d88af16f",
                "sha256:a9d9a90a425ab7646ce34da4e34627ce5c58257e72ffce4481100a80afd7a109",
                "sha256:e744369d2463ea772001b27b6a0a0c8749e825888b85744fee2b92324e9413a2",
                "sha256:93f519b42120fc6d989f9ef6d5f38882bc277677e981d2975bc21efd3875c4ad",
                "sha256:6a73ec901f0a2b280c0ae340b766966d8ea9fd6296f04978cb537b6270d0cb46",
                "sha256:44fa737dcac3896ad4d0f8f0b652f3ce470795e707a655d20a9943666079ca35",
                "sha256:025594f27484d0bf2ee8d5a899fb6d4b88605662c305a2b93210899c2627f14b",
                "sha256:389a5b69b60f08fa7edc33876c81875c058b1d7831741c621d0b3eb3446e5d3e",
                "sha256:5ca73b3af0791f4ec6530050ea6e605116f8287219c9d0489fee4bf4e9cfe422",
                "sha256:7f8ab795a0389142022a839884a88661afa5c4d4503d6af54a74ad2c960452ae",
                "sha256:76d8b774b68ff7293c482e92ce255226d08643380571bf124a25fc851456dc3f",
                "sha256:76d8b774b68ff7293c482e92ce255226d08643380571bf124a25fc851456dc3f",
                "sha256:d2ebe5a5cb62452b98a956451464c52e91153cb443f371de1434abd8212fbb55",
                "sha256:e1270273dce7e4abcfb984abc16ed8216cbe7558862bbc3611713a6a31a0f098",
                "sha256:e1270273dce7e4abcfb984abc16ed8216cbe7558862bbc3611713a6a31a0f098",
                "sha256:8021a956440322360fd000d630456d0e49d4352a4aeec6c7caa1eeb60b317428",
                "sha256:f6618b07faa72afc2ca384b21725917ba53fe1e55ff8a6892cd81399fefad7cf",
                "sha256:f6618b07faa72afc2ca384b21725917ba53fe1e55ff8a6892cd81399fefad7cf",
                "sha256:c74160232daee90f04c9259ff778530aa0b1672072cacbe789e5834f39421d0b",
                "sha256:def0dbf96e8bbc597bce62407a4dd294d601332bcf5729049afc7ec3bfe1b62b",
                "sha256:def0dbf96e8bbc597bce62407a4dd294d601332bcf5729049afc7ec3bfe1b62b",
                "sha256:8cf74005b28f44a5093bd993b29fc7102b933466f989d6e3551b72aa8d2991e0"
            ]
        },
        "Metadata": {
            "LastTagTime": "0001-01-01T00:00:00Z"
        }
    }
]

Bitbucket7.21.20所支持的linux内核

Linux support requires a 2.6.17+ kernel and glibc 2.7+.  This means that Red Hat Enterprise Linux 5, which uses glibc 2.5, is no longer supported for Bitbucket Server 7.0+.

# Linux支持需要2.6.17+内核和glibc 2.7+。这意味着使用glibc 2.5的Red Hat Enterprise Linux 5不再支持Bitbucket Server 7.0+。

Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶,docker,atlassian,容器,docker-compose,jira,confluence

结论:

然而上面我们查到的内核是Linux 5.10.16.3-microsoft-standard-WSL2 amd64,所以大概率是这个原因。所以尝试把镜像版本降低到6.10.17,居然就可以了。所以说是官方封的镜像有问题!!!丢
Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶,docker,atlassian,容器,docker-compose,jira,confluence
Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶,docker,atlassian,容器,docker-compose,jira,confluence
Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶,docker,atlassian,容器,docker-compose,jira,confluence文章来源地址https://www.toymoban.com/news/detail-793290.html

到了这里,关于Docker部署Jira、Confluence、Bitbucket、Bamboo、Crowd,Atlassian全家桶的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Jira、Confluence 正转破(支持版本安装)

    以下为相关文档,均包含你想要的 Windows安装文档见链接 Linux安装见文档链接 Docker安装见文档链接 本文用以学习,商业应用请前往atlassian.com购买。 本文主要描述在已正常使用、试用到期的情况,转为本文相关链接所描述的方式进行继续廉价使用的方法 按文档操作后,2100年

    2024年02月10日
    浏览(51)
  • Docker-Confluence部署记录

    参考-Confluence 破解方式(Linux) 按流程破解进入系统 尽量是将备份包,放置到文件夹/var/atlassian/confluence/restore下。 1、部署完成,导入mysql数据后,出现中文乱码-全是问号的问题 修改完成后,重启docker容器。

    2024年01月21日
    浏览(41)
  • 利用jira及confluence的API进行批量操作(查找/更新/导出/备份/删除等)

    近期因为某些原因需要批量替换掉 jira 和 confluence中的特定,而且在替换前还希望进行备份(以便后续恢复)和导出(方便查看) atlassian官方的api介绍文档太简陋,很多传参都没有进一步的描述说明,过程中踩了不少的坑... 故现将相关代码分享下,希望有类似需求的朋

    2024年02月07日
    浏览(44)
  • jira项目管理(一)-Docker进行jira本地部署

    本人对jira的了解还只是皮毛,起源公司没有一个好用的项目管理工具,项目管理全靠项目经理的个人能力,一个字累,最需要的功能是看板,能一目了然的看清楚项目现在的进展,对需求和测试进行完善的管理,目前的测试文档基本是形同虚设为了应付事情,文档写的累还没

    2024年02月10日
    浏览(56)
  • 基于Docker部署OpenLDAP,同时集成第三方系统(GitLab、JIRA、Nexus、Harbor)

    这里可以了解什么是LDAP,为什么要用它 下面通过docker-compose一键部署openLDAP、phpldapadmin和self-service-password。(通过K8s部署的方式大同小异) 准备open-ldap的docker-compose文件 执行 docker-compose up 命令,就可以一键部署openldap、phpldapadmin(他就是openldap的操作页面)、self-service-passw

    2023年04月08日
    浏览(41)
  • docker搭建Confluence(wiki)

    confluence服务需要一个数据库做数据存储,一般使用mysql,所以需要提前准备好mysql服务 并需要创建好数据库信息 1:破解镜像准备 获取破解文件 编写Dockerfile 构建镜像 启动容器 访问 修改语言 选择-产品安装-下一步 我这里都选了-下一步 需要获取授权码 2:授权码获取 这里需

    2024年02月16日
    浏览(46)
  • docker下安装confluence(超详细版)

    在虚拟机无历史docker残留的基础上,安装yum工具 更新本地镜像源 输入安装命令 启动docker 查看docker状态 打开网络虚拟编辑器 选择外部连接方式为NAT模式 ,此处以192.168.66.0为例 更改子网IP以及子网掩码 修改网关 打开本地电脑网络设置 登录虚拟机,修改虚拟机配置 查看MAC地

    2024年02月08日
    浏览(46)
  • Jira-使用docker安装jira(支持最新版本)

    Jira-使用docker安装jira(支持最新版本) 本文已不是最新方法,最新方法请参考文档 最新版本已支持到9.5.0 本文仅提供交流学习 本文针对具有docker、Linux使用基础的兄弟姐妹们 请提前安装docker软件 需要原生安装的请联系作者 Linux安装传送门 Windows安装传送门 一、下载镜像 j

    2024年02月09日
    浏览(46)
  • Centos7操作系统confluence8.5版本部署(超级详细一遍过)

    按照网上的部署踩了两天坑,记录一下自己部署的过程 confluence8.5版本安装步骤 1.安装jdk1.8 # 上传jdk包或者自己wget下载 #解压 tar -zxf jdk1.8xxxx.tar.gz -C /usr/local cd /usr/local/ jdk1.8xxxxx  jdk1.8 #配置环境变量 vim /etc/profile JAVA_HOME=/usr/local/jdk1.8 CLASSPATH=$JAVA_HOME/lib/ PATH=$PATH:$JAVA_HOME/bin e

    2024年02月21日
    浏览(45)
  • 在Bamboo上怎么使用iOS的单元测试

    作者:京东零售 吴滔 本教程将使用北汽登录模块为例,一步一步和大家一起搭建单元测试用例,并在Bamboo上跑起来,最终测试结果和代码覆盖率会Bamboo上汇总。 模块名称:BQLoginModule,是通过iBiu创建的一个模块工程 ProductName: BQLoginTests 如果我们要在测试代码使用我们在Pod里的

    2024年02月03日
    浏览(23)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包