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-configenvironment:TZ: Asia/ShanghaiLANG: en_US.UTF-8services:jira:image: atlassian/jira-software:latestcontainer_name: jirarestart: alwaysports:- "8080:8080"depends_on:- atlassiandbenvironment:- DB_HOST=jira-db- DB_PORT=5432- DB_NAME=jiradb- DB_USER=jira- DB_PASSWORD=jira- CATALINA_OPTS=-javaagent:/opt/atlassian/jira/atlassian-agent.jarvolumes:- ./jira/logs:/opt/atlassian/jira/logs- ./jira/data:/var/atlassian/application-data/jira- ./atlassian-agent.jar:/opt/atlassian/jira/atlassian-agent.jarconfluence:image: atlassian/confluence-server:latestcontainer_name: confluencerestart: alwaysports:- "8090:8090"- "8091:8091"depends_on:- atlassiandbenvironment:- DB_HOST=confluence-db- DB_PORT=5432- DB_NAME=confluencedb- DB_USER=conf- DB_PASSWORD=conf- CATALINA_OPTS=-javaagent:/opt/atlassian/confluence/atlassian-agent.jarvolumes:- ./confluence/logs:/opt/atlassian/confluence/logs- ./confluence/data:/var/atlassian/application-data/confluence- ./atlassian-agent.jar:/opt/atlassian/confluence/atlassian-agent.jarbitbucket:image: atlassian/bitbucket-server:7.21.20container_name: bitbucketrestart: alwaysports:- "7990:7990"- "7999:7999"depends_on:- atlassiandbenvironment:- DB_HOST=bitbucket-db- DB_PORT=5432- DB_NAME=bitbucketdb- DB_USER=bitbucket- DB_PASSWORD=bitbucket- CATALINA_OPTS=-javaagent:/opt/atlassian/bitbucket/atlassian-agent.jarvolumes:#- ./bitbucket/logs:/opt/atlassian/bitbucket/logs- ./bitbucket/data:/var/atlassian/application-data/bitbucket- ./atlassian-agent.jar:/opt/atlassian/bitbucket/atlassian-agent.jarbamboo:image: atlassian/bamboo-server:latestcontainer_name: bamboorestart: alwaysports:- "8085:8085"depends_on:- atlassiandbenvironment:- DB_HOST=bamboo-db- DB_PORT=5432- DB_NAME=bamboodb- DB_USER=bamboo- DB_PASSWORD=bamboo- CATALINA_OPTS=-javaagent:/opt/atlassian/bamboo/atlassian-agent.jarvolumes:- ./bamboo/logs:/opt/atlassian/bamboo/logs- ./bamboo/data:/var/atlassian/application-data/bamboo- ./atlassian-agent.jar:/opt/atlassian/bamboo/atlassian-agent.jarcrowd:image: atlassian/crowd:latestcontainer_name: crowdrestart: alwaysports:- "8095:8095"depends_on:- atlassiandbenvironment:- DB_HOST=crowd-db- DB_PORT=5432- DB_NAME=crowddb- DB_USER=crowd- DB_PASSWORD=crowd- CATALINA_OPTS=-javaagent:/opt/atlassian/crowd/atlassian-agent.jarvolumes:- ./crowd/logs:/opt/atlassian/crowd/logs- ./crowd/data:/var/atlassian/application-data/crowd- ./atlassian-agent.jar:/opt/atlassian/crowd/atlassian-agent.jaratlassiandb:image: postgres:14.10container_name: atlassiandbrestart: alwaysports:- "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 directoryat 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 directoryat 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.tmpat 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.tmpat 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,居然就可以了。所以说是官方封的镜像有问题!!!丢
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

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

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Ovtio不同版本下载

关注 M r . m a t e r i a l , \color{Violet} \rm Mr.material\ , Mr.material , 更 \color{red}{更} 更 多 \color{blue}{多} 多 精 \color{orange}{精} 精 彩 \color{green}{彩} 彩! 主要专栏内容包括: †《LAMMPS小技巧》: ‾ \textbf…

VTK开发调试环境下载(VTK开发环境一步到位直接开发,无需自己配置编译 VS2017+Qt5.12.10+VTK)

一、无与伦比的优势 直接下载代码就可以调试的VTK代码仓库。 二、资源制作原理 这个资源根据VTK源码 编译出动态库文件 pdb lib dll 文件( x64 debug ) 并将这两者同时放在一个代码仓库里,下载就能用。 三、使用方法(vtk-so…

武理多媒体信息共享平台的架构设计与实现

✍✍计算机编程指导师 ⭐⭐个人介绍:自己非常喜欢研究技术问题!专业做Java、Python、微信小程序、安卓、大数据、爬虫、Golang、大屏等实战项目。 ⛽⛽实战项目:有源码或者技术上的问题欢迎在评论区一起讨论交流! ⚡⚡ Java实战 |…

Mantle: A Programmable Metadata Load Balancer for the Ceph File System——论文泛读

SC 2015 Paper 元数据论文阅读汇总 问题 优化Ceph的元数据局部性和负载平衡。 现有方法 提高元数据服务性能的最常见技术是在专用的元数据服务器(MDS)节点之间平衡负载 [16, 25, 26, 21, 28]。常见的方法是鼓励独立增长并减少通信,使用诸…

使用 Picocli 开发 Java 命令行,5 分钟上手

大家好,我是鱼皮,对不会前端的同学来说,开发 命令行工具 是一种不错的展示系统功能的方式。在 Java 中开发命令行工具也很简单,使用框架,几分钟就能学会啦~ Picocli 入门 Picocli 是 Java 中个人认为功能最完善、最简单…

NAS入门(学习笔记)

文章目录 AutoMLNAS初期NAS当前NAS框架One-Shot NAS权重共享策略 Zero-Shot NASZen-NASNASWOTEPENAS 参考资料 AutoML 深度学习使特征学习自动化 AutoML 使深度学习自动化 自动化机器学习 (automated machine learning) 是一种自动化的数据驱动方法, 并做出一系列决策。 按…

【Docker】网络模式➕自定义网络

🥳🥳Welcome 的Huihuis Code World ! !🥳🥳 接下来看看由辉辉所写的关于Docker的相关操作吧 目录 🥳🥳Welcome 的Huihuis Code World ! !🥳🥳 一.Docker网络模式的介绍 二. 网桥模…

Server/PC 稳定性测试(Windows)

Server/PC 稳定性测试 1. CPU - 中央处理器1.1 CPU稳定性1.2 CPU温度 2. Memory - 内存2.1 内存性能 3. DISK - 硬盘3.1 HDD - 机械硬盘机械硬盘转速详解监测工具 3.2 SSD - 固态硬盘监测工具 4. 使用时长cpu能用多久?主板能用多久?内存能用多久&#xf…

博后期间各种计划

博后期间各种计划: (1)国家自然科学基金(青年项目)、(2)博士后创新人才支持计划(23年新改革:28w*2生活补助经费8w科研启动经费;每年资助400多人;…

Ansible-剧本与变量

对于运维小伙伴来讲,Ansible并不陌生,配置简单,上手容易,只要掌握几个基本的模块就可以解决好多运维中重复的事,但是对于处理更为高级的功能和更大、更复杂的项目时,管理和维护Ansible Playbook或高效使用将…

解决MPICH的GPU初始化失败:一次深入探索

今天来分享“MPICH:MPII_Init_thread(222): gpu_init failed”这个问题的解决方式 文章目录 前言问题原因解决方案 前言 如果在安装MPICH的时候没有注意要一些选项,那么当使用mpicxx mpi_send.cpp -o send && mpirun -n 2 ./send进行编译输出的…

C++ 之LeetCode刷题记录(十一)

😄😊😆😃😄😊😆😃 开始cpp刷题之旅。 向耗时0s前进。 67. 二进制求和 给你两个二进制字符串 a 和 b ,以二进制字符串的形式返回它们的和。 示例 1: 输入…

最新AI绘画Midjourney绘画提示词Prompt大全

一、Midjourney绘画工具 SparkAi创作系统是基于ChatGPT进行开发的Ai智能问答系统和Midjourney绘画系统,支持OpenAI-GPT全模型国内AI全模型。本期针对源码系统整体测试下来非常完美,可以说SparkAi是目前国内一款的ChatGPT对接OpenAI软件系统。那么如何搭…

抖音SEO搜索排名优化培训教程课件

【干货资料持续更新,以防走丢】 抖音SEO搜索排名优化培训教程课件 部分资料预览 资料部分是网络整理,仅供学习参考。 抖音运营资料合集 (完整资料包含以下内容) 目录 抖音易爆单的商品特征 抖音作为一款短视频平台,…

基于杂交PSO算法的风光储微网日前优化调度(MATLAB实现)

微网中包含:风电、光伏、储能、微型燃气轮机,以最小化电网购电成本、光伏风机的维护成本、蓄电池充放电维护成本、燃气轮机运行成本及污染气体治理成本为目标,综合考虑:功率平衡约束、燃气轮机爬坡约束、电网交换功率约束、储能装…

C语言数组

文章目录 1:一维数组的创建和初始化1.1 创建方式1.2:一维数组的初始化1.3:一维数组的使用1.3.1:数组下标 1.4:一维数组在内存中的存储 2:二维数组的创建和初始化2.1:二维数组的创建2.2:二维数组的初始化2.3:二维数组的下标2.4:二维数组在内存中的存储 3:数组越界4:数…

request entity too large 解决请求实体过大问题的方法

在网络请求过程中,有时会出现请求实体过大而导致服务器无法处理的情况。本文将介绍两种情况及其解决办法,真实可用! 问题描述 请求实体过大问题主要分为两种情况: 1、带413状态码的请求实体过大 这种情况通常发生在请求文件过…

display布局实现一侧的盒子高度与另一侧盒子的高度等高

实现两边容器的高度等高主要是用 align-items: stretch 这个属性 stretch 拉伸: 子元素没有高度或高度为auto&#xff0c;将占满整个容器的高度 <template><div><h3>我是测试页面</h3><div class"container"><div class"left-…

09、Kafka ------ 通过修改保存时间来删除消息(retention.ms 配置)

目录 通过修改保存时间来删除消息★ 删除指定主题的消息演示1、修改kafka检查过期消息的时间间隔2、修改主题下消息的过期时间3、查看修改是否生效4、先查看下主题下有没有消息5、添加几条消息看效果6、查看消息是否被删除 ★ 恢复主题的retention.ms配置1、先查看没修改前的te…

常见半导体设备厂商介绍

半导体作为全球最重要的一个产业&#xff0c;每年为全球经济贡献数千亿美元产值。在整个产业链上&#xff0c;除我们耳熟能详的英特尔、AMD、高通、台积电等生产商外&#xff0c;还包括了众多著名的材料商和设备商。今天我们将对全球最为出色的半导体设备厂商进行一次盘点和介绍…