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

文章目录

  • 省流:
  • 注意:
      • 解决方案:
  • 1.docker-compose文件
  • 2.其他服务都正常启动,唯独Bitbucket不行。
    • 日志错误
      • 刚启动时候
      • 重启后
      • 查询分析原因
      • 再针对第一点排查
      • 看样子是安装的bitbucket和系统环境有冲突问题?
    • 结论:

省流:

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

注意:

还是不太推荐使用docker部署,官网也是不支持docker部署相关技术解答,所以资料都比较少。这边后面再配置统一登录的时候出现了问题,冒出了ip的问题,172开头的;之前不用docker部署,是没问题的。
在这里插入图片描述

解决方案:

将对应ip换为容器内的虚拟ip,但防止每次部署会发生改变,建议使用容器别名。
在这里插入图片描述
在这里插入图片描述

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 还是一样在问题

日志错误

在这里插入图片描述

刚启动时候

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 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+。

在这里插入图片描述

结论:

然而上面我们查到的内核是Linux 5.10.16.3-microsoft-standard-WSL2 amd64,所以大概率是这个原因。所以尝试把镜像版本降低到6.10.17,居然就可以了。所以说是官方封的镜像有问题!!!丢
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/325744.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

晶圆表面缺陷检测现状概述

背景: 晶圆表面缺陷检测设备主要检测晶圆外观呈现出来的缺陷,损伤、毛刺等缺陷,主要设备供应商KLA,AMAT,日立等,其中KLA在晶圆表面检测设备占有市场52%左右。 检测设备分类: 电子束设备和光学…

MAC iterm 显示git分支名

要在Mac上的iTerm中显示Git分支名,您需要使用一个名为“Oh My Zsh”的插件。Oh My Zsh是一个流行的Zsh框架,它提供了许多有用的功能和插件,包括在终端中显示Git分支名。 以下是在iTerm中显示Git分支名的步骤: 1、安装Oh My Zsh&…

系统架构11 - 数据库基础(上)

数据库基础 数据库基本概念概述三级模式、两级映像概念模式外模式内模式二级映像逻辑独立性物理独立性 数据库设计需求分析概念结构设计逻辑结构设计物理设计数据库实施阶段据库运行和维护阶段 数据模型E-R模型关系模型模型转换E-R图的联系 关系代数 数据库基本概念 概述 数据…

可持续技术:2024 年技术趋势的绿色创新

随着我们步入2024年,对可持续技术解决方案的关注从未如此强烈。从可再生能源到环保小工具,科技行业正朝着更环保、更可持续的未来大步迈进。 在快速发展的技术领域,创新是推动我们走向可持续未来的动力。随着我们步入2024年,对可持…

高效工作法:占位图片生成工具助力项目快速迭代

在现代设计和开发项目中,图片资源的重要性不言而喻。然而,项目中经常会遇到寻找合适图片、调整图片尺寸和格式等问题,这些问题不仅耗时耗力,还可能影响到项目的进度和质量。此时,占位图片生成工具应运而生,…

【开源】基于JAVA语言的网上药店系统

目录 一、摘要1.1 项目介绍1.2 项目录屏 二、功能模块2.1 数据中心模块2.2 药品类型模块2.3 药品档案模块2.4 药品订单模块2.5 药品收藏模块2.6 药品资讯模块 三、系统设计3.1 用例设计3.2 数据库设计3.2.1 角色表3.2.2 药品表3.2.3 药品订单表3.2.4 药品收藏表3.2.5 药品留言表…

[足式机器人]Part2 Dr. CAN学习笔记-Advanced控制理论 Ch04-9 可观测性与分离原理

本文仅供学习使用 本文参考: B站:DR_CAN Dr. CAN学习笔记-Advanced控制理论 Ch04-9 可观测性与分离原理

安卓之图表库的应用场景、技术实现及其优劣分析

一、引言 在移动应用开发中,数据可视化对于提供直观信息、帮助用户理解数据至关重要。安卓平台上的图表库为开发者提供了一系列工具和组件,使他们能够轻松地创建各种类型的图表,如线型图、柱状图、蜡烛图、气泡图、饼状图、雷达图以及散点图等…

适配器模式介绍

目录 一、适配器模式介绍 1.1 适配器模式定义 1.2 适配器模式原理 1.2.1 适配器模式类图 1.2.2 模式角色说明 二、适配器模式的应用 2.1 类适配器模式 2.1.1 需求说明 2.1.2 需求实现 2.1.2.1 类图 2.1.2.2 具体实现 2.1.2.2.1 SDCard接口 2.1.2.2.2 SDCardImpl实现…

婴儿洗衣机哪款性价比高?希亦、RUUFFY、觉飞全维度测评对比

当婴儿的到来,确实会给家庭带来许多变化,就好比如对于宝宝相关衣物的清洗需求。对于新生儿及婴幼儿的衣服,一般都要给予特殊的照顾与清洗,以保证不含细菌及过敏原。尤其是刚刚出生的婴儿,这时候宝宝们的皮肤很是幼嫩。…

【JavaEE进阶】 利用Spring简单实现加法计算器和用户登录

文章目录 🎍序言🌳加法计算器🚩准备工作🚩约定前后端交互接⼝🌲后端服务器代码的书写 🌴用户登录🚩效果展示🚩准备工作🚩约定前后端交互接⼝🎈需求分析&#…

spring boot学习第八篇:kafka

目录 1、安装kafka 1.1确认jdk是否安装OK 1.2下载kafka 1.3安装kafka 1.4验证kafka 2、连接kafka 3、在java中操作kafka 1、安装kafka 1.1确认jdk是否安装Ok java -version 1.2下载kafka wget http://archive.apache.org/dist/zookeeper/zookeeper-3.4.14/zookeeper-…

K8S之configMapsecret

job 第一个是初始化尝试,初始化尝试失败之后,会再重试两次。 配置资源管理: Secret Configmap*:1.2加入的新特征 1.18 Secret: 保存密码,token,敏感的k8s资源 这类数据可以存放在镜像当中,但是防止secret当中可以更方便的控…

爬虫—根据股票代码实时抓取股票信息

爬虫—根据股票代码实时抓取股票信息 数据来源网址:https://xueqiu.com 目标:根据输入的股票代码和证券所,实时抓取股票的交易信息 源码如下: import requests from lxml import etree# 本案例数据需要账号登录之后才能获取&a…

MSSQL-识别扩展extended event(扩展事件)中的时间单位

经常使用sqlserver extended event(扩展事件),但是总是忘记扩展事件使用的时间单位,不确定它们是 秒、毫秒、还是微秒? 以下下代码能够从 相关DMV中提取description字段内容来识别时间单位: SELECT [p].[name] [package_name],[o…

Androidmanifest文件加固和对抗

前言 恶意软件为了不让我们很容易反编译一个apk,会对androidmanifest文件进行魔改加固,本文探索androidmanifest加固的常见手法以及对抗方法。这里提供一个恶意样本的androidmanifest.xml文件,我们学完之后可以动手实践。 1、Androidmanife…

加密经济学:Web3时代的新经济模型

随着Web3技术的迅猛发展,我们正迈入一个全新的数字经济时代。加密经济学作为这一时代的核心,不仅在数字货币领域崭露头角,更是重新定义了传统经济模型,为我们开启了一个充满创新和机遇的新纪元。 1. 去中心化的经济体系 Web3时代…

c++中的以及链表的基础使用

c中的& 通俗的立减即为对一个变量起别名。(是和指针有区别的) 以下为两个示例程序: 通过&代替了以往对地址的传递。从而实现了对a和b的交换。 p为a的别名,对p操作即为对a操作。故最后输出a的值为10. 链表的基础应用 链…

C语言:底层剖析——函数栈帧的创建和销毁

一、究竟什么是函数栈帧 C语言的使用是面向过程的, 面向过程就是分析出解决问题所需要的步骤,然后用函数把这些步骤一步一步实现,使用的时候一个一个依次调用就可以了。所以C语言的程序都是以函数作为基本单位的,如果能够深入理解…

Vue项目 css下载字体并引入使用

1.下载字体 下载字体:字体下载,字体大全,免费字体下载,在线字体|字客网字客网是全球知名的字体下载与分享网站,齐全的中文,日文,韩文,英文,图标,美术设计,毛笔,钢笔,手写,书法字体大全,提供找字体,字体识别,字体下载,在线字体预览,字体转换,字体设计等服务。…