docker.io/rabbitmq:4.0.4-management linux/amd64

docker.io/rabbitmq:4.0.4-management - 国内下载镜像源 浏览次数:53 安全受验证的发布者-Rabbitmq

RabbitMQ 是一个开源的消息队列服务器 software。它提供了高性能、高可靠性的消息队列服务,可以在分布式系统中用于消息传递、流量控制和错误处理等场景。

源镜像 docker.io/rabbitmq:4.0.4-management
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:4.0.4-management
镜像ID sha256:141201301867f7e48b052cf4c8a3e372ab0c61d55d91da0059392da465916c2f
镜像TAG 4.0.4-management
大小 266.81MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD rabbitmq-server
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 53 次
贡献者
镜像创建 2024-09-20T21:15:09Z
同步时间 2025-01-09 10:09
更新时间 2025-01-18 05:26
开放端口
15671/tcp 15672/tcp 15691/tcp 15692/tcp 25672/tcp 4369/tcp 5671/tcp 5672/tcp
环境变量
PATH=/opt/rabbitmq/sbin:/opt/erlang/bin:/opt/openssl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ERLANG_INSTALL_PATH_PREFIX=/opt/erlang OPENSSL_INSTALL_PATH_PREFIX=/opt/openssl RABBITMQ_DATA_DIR=/var/lib/rabbitmq RABBITMQ_VERSION=4.0.4 RABBITMQ_PGP_KEY_ID=0x0A9AF2115F4687BD29803A206B73A36E6026DFCA RABBITMQ_HOME=/opt/rabbitmq HOME=/var/lib/rabbitmq LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
镜像标签
ubuntu: org.opencontainers.image.ref.name 24.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 24.04 扫描引擎: Trivy 扫描时间: 2025-01-09 10:11

低危漏洞:7 中危漏洞:10 高危漏洞:0 严重漏洞:0

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:4.0.4-management
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:4.0.4-management  docker.io/rabbitmq:4.0.4-management

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:4.0.4-management
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:4.0.4-management  docker.io/rabbitmq:4.0.4-management

Shell快速替换命令

sed -i 's#rabbitmq:4.0.4-management#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:4.0.4-management#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:4.0.4-management && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:4.0.4-management  docker.io/rabbitmq:4.0.4-management'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:4.0.4-management && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:4.0.4-management  docker.io/rabbitmq:4.0.4-management'

镜像构建历史


# 2024-09-21 05:15:09  0.00B 声明容器运行时监听的端口
EXPOSE map[15671/tcp:{} 15672/tcp:{}]
                        
# 2024-09-21 05:15:09  36.40MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	rabbitmq-plugins enable --offline rabbitmq_management; 	rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; 	cp /plugins/rabbitmq_management-*/priv/www/cli/rabbitmqadmin /usr/local/bin/rabbitmqadmin; 	[ -s /usr/local/bin/rabbitmqadmin ]; 	chmod +x /usr/local/bin/rabbitmqadmin; 	apt-get update; 	apt-get install -y --no-install-recommends python3; 	rm -rf /var/lib/apt/lists/*; 	rabbitmqadmin --version # buildkit
                        
# 2024-09-21 05:15:09  0.00B 设置默认要执行的命令
CMD ["rabbitmq-server"]
                        
# 2024-09-21 05:15:09  0.00B 声明容器运行时监听的端口
EXPOSE map[15691/tcp:{} 15692/tcp:{} 25672/tcp:{} 4369/tcp:{} 5671/tcp:{} 5672/tcp:{}]
                        
# 2024-09-21 05:15:09  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2024-09-21 05:15:09  1.36KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2024-09-21 05:15:09  642.00B 复制新文件或目录到容器中
COPY --chown=rabbitmq:rabbitmq 10-defaults.conf 20-management_agent.disable_metrics_collector.conf /etc/rabbitmq/conf.d/ # buildkit
                        
# 2024-09-21 05:15:09  0.00B 设置环境变量 LANG LANGUAGE LC_ALL
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
                        
# 2024-09-21 05:15:09  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/rabbitmq]
                        
# 2024-09-21 05:15:09  0.00B 设置环境变量 HOME
ENV HOME=/var/lib/rabbitmq
                        
# 2024-09-21 05:15:09  21.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -sf /opt/rabbitmq/plugins /plugins # buildkit
                        
# 2024-09-21 05:15:09  23.00B 执行命令并创建新的镜像层
RUN /bin/sh -c gosu rabbitmq rabbitmq-plugins enable --offline rabbitmq_prometheus # buildkit
                        
# 2024-09-21 05:15:09  31.53MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	export DEBIAN_FRONTEND=noninteractive; 	apt-get update; 	apt-get install --yes --no-install-recommends 		ca-certificates 		gosu 		tzdata 	; 	gosu nobody true; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get install --yes --no-install-recommends 		gnupg 		wget 		xz-utils 	; 	rm -rf /var/lib/apt/lists/*; 		RABBITMQ_SOURCE_URL="https://github.com/rabbitmq/rabbitmq-server/releases/download/v$RABBITMQ_VERSION/rabbitmq-server-generic-unix-latest-toolchain-$RABBITMQ_VERSION.tar.xz"; 	RABBITMQ_PATH="/usr/local/src/rabbitmq-$RABBITMQ_VERSION"; 		wget --progress dot:giga --output-document "$RABBITMQ_PATH.tar.xz.asc" "$RABBITMQ_SOURCE_URL.asc"; 	wget --progress dot:giga --output-document "$RABBITMQ_PATH.tar.xz" "$RABBITMQ_SOURCE_URL"; 		export GNUPGHOME="$(mktemp -d)"; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$RABBITMQ_PGP_KEY_ID"; 	gpg --batch --verify "$RABBITMQ_PATH.tar.xz.asc" "$RABBITMQ_PATH.tar.xz"; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME"; 		mkdir -p "$RABBITMQ_HOME"; 	tar --extract --file "$RABBITMQ_PATH.tar.xz" --directory "$RABBITMQ_HOME" --strip-components 1; 	rm -rf "$RABBITMQ_PATH"*; 	grep -qE '^SYS_PREFIX=\$\{RABBITMQ_HOME\}$' "$RABBITMQ_HOME/sbin/rabbitmq-defaults"; 	sed -i 's/^SYS_PREFIX=.*$/SYS_PREFIX=/' "$RABBITMQ_HOME/sbin/rabbitmq-defaults"; 	grep -qE '^SYS_PREFIX=$' "$RABBITMQ_HOME/sbin/rabbitmq-defaults"; 	chown -R rabbitmq:rabbitmq "$RABBITMQ_HOME"; 		apt-mark auto '.*' > /dev/null; 	apt-mark manual $savedAptMark; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 		[ ! -e "$RABBITMQ_DATA_DIR/.erlang.cookie" ]; 	gosu rabbitmq rabbitmqctl help; 	gosu rabbitmq rabbitmqctl list_ciphers; 	gosu rabbitmq rabbitmq-plugins list; 	rm "$RABBITMQ_DATA_DIR/.erlang.cookie" # buildkit
                        
# 2024-09-21 05:15:09  0.00B 设置环境变量 PATH
ENV PATH=/opt/rabbitmq/sbin:/opt/erlang/bin:/opt/openssl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-09-21 05:15:09  0.00B 设置环境变量 RABBITMQ_HOME
ENV RABBITMQ_HOME=/opt/rabbitmq
                        
# 2024-09-21 05:15:09  0.00B 设置环境变量 RABBITMQ_PGP_KEY_ID
ENV RABBITMQ_PGP_KEY_ID=0x0A9AF2115F4687BD29803A206B73A36E6026DFCA
                        
# 2024-09-21 05:15:09  0.00B 设置环境变量 RABBITMQ_VERSION
ENV RABBITMQ_VERSION=4.0.4
                        
# 2024-09-21 05:15:09  40.11KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	ln -vsf /etc/ssl/certs /etc/ssl/private "$OPENSSL_INSTALL_PATH_PREFIX/etc/ssl"; 		ldconfig; 	sed -i.ORIG -e "/\.include.*fips/ s!.*!.include $OPENSSL_INSTALL_PATH_PREFIX/etc/ssl/fipsmodule.cnf!" 		-e '/# fips =/s/.*/fips = fips_sect/' "$OPENSSL_INSTALL_PATH_PREFIX/etc/ssl/openssl.cnf"; 	sed -i.ORIG -e '/^activate/s/^/#/' "$OPENSSL_INSTALL_PATH_PREFIX/etc/ssl/fipsmodule.cnf"; 	[ "$(command -v openssl)" = "$OPENSSL_INSTALL_PATH_PREFIX/bin/openssl" ]; 	openssl version; 	openssl version -d; 		erl -noshell -eval 'ok = crypto:start(), ok = io:format("~p~n~n~p~n~n", [crypto:supports(), ssl:versions()]), init:stop().'; 		groupadd --gid 999 --system rabbitmq; 	useradd --uid 999 --system --home-dir "$RABBITMQ_DATA_DIR" --gid rabbitmq rabbitmq; 	mkdir -p "$RABBITMQ_DATA_DIR" /etc/rabbitmq /etc/rabbitmq/conf.d /tmp/rabbitmq-ssl /var/log/rabbitmq; 	chown -fR rabbitmq:rabbitmq "$RABBITMQ_DATA_DIR" /etc/rabbitmq /etc/rabbitmq/conf.d /tmp/rabbitmq-ssl /var/log/rabbitmq; 	chmod 1777 "$RABBITMQ_DATA_DIR" /etc/rabbitmq /etc/rabbitmq/conf.d /tmp/rabbitmq-ssl /var/log/rabbitmq; 	ln -sf "$RABBITMQ_DATA_DIR/.erlang.cookie" /root/.erlang.cookie # buildkit
                        
# 2024-09-21 05:15:09  0.00B 设置环境变量 RABBITMQ_DATA_DIR
ENV RABBITMQ_DATA_DIR=/var/lib/rabbitmq
                        
# 2024-09-21 05:15:09  0.00B 设置环境变量 PATH
ENV PATH=/opt/erlang/bin:/opt/openssl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-09-21 05:15:09  26.69MB 复制新文件或目录到容器中
COPY /opt/openssl /opt/openssl # buildkit
                        
# 2024-09-21 05:15:09  94.02MB 复制新文件或目录到容器中
COPY /opt/erlang /opt/erlang # buildkit
                        
# 2024-09-21 05:15:09  0.00B 设置环境变量 OPENSSL_INSTALL_PATH_PREFIX
ENV OPENSSL_INSTALL_PATH_PREFIX=/opt/openssl
                        
# 2024-09-21 05:15:09  0.00B 设置环境变量 ERLANG_INSTALL_PATH_PREFIX
ENV ERLANG_INSTALL_PATH_PREFIX=/opt/erlang
                        
# 2024-09-21 05:15:09  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-09-21 05:15:09  78.12MB 
/bin/sh -c #(nop) ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 in / 
                        
# 2024-09-21 05:15:09  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2024-09-21 05:15:09  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-09-21 05:15:09  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-09-21 05:15:09  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:141201301867f7e48b052cf4c8a3e372ab0c61d55d91da0059392da465916c2f",
    "RepoTags": [
        "rabbitmq:4.0.4-management",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq:4.0.4-management"
    ],
    "RepoDigests": [
        "rabbitmq@sha256:144d7825c7418938f95da9212a70de4335ebecfbbcf10e4c13ad1092d462570a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rabbitmq@sha256:2292845ef7dba2170090df2e0e576bb2306cb77a57eed96b4f9f249420946d8b"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-09-20T21:15:09Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "15671/tcp": {},
            "15672/tcp": {},
            "15691/tcp": {},
            "15692/tcp": {},
            "25672/tcp": {},
            "4369/tcp": {},
            "5671/tcp": {},
            "5672/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/rabbitmq/sbin:/opt/erlang/bin:/opt/openssl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "ERLANG_INSTALL_PATH_PREFIX=/opt/erlang",
            "OPENSSL_INSTALL_PATH_PREFIX=/opt/openssl",
            "RABBITMQ_DATA_DIR=/var/lib/rabbitmq",
            "RABBITMQ_VERSION=4.0.4",
            "RABBITMQ_PGP_KEY_ID=0x0A9AF2115F4687BD29803A206B73A36E6026DFCA",
            "RABBITMQ_HOME=/opt/rabbitmq",
            "HOME=/var/lib/rabbitmq",
            "LANG=C.UTF-8",
            "LANGUAGE=C.UTF-8",
            "LC_ALL=C.UTF-8"
        ],
        "Cmd": [
            "rabbitmq-server"
        ],
        "Image": "",
        "Volumes": {
            "/var/lib/rabbitmq": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "24.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 266810622,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3ce505b0fe7a325052fb17fcce3dbcbbc5d8a162e9fb81874729a20586083e06/diff:/var/lib/docker/overlay2/20fa74728688e7e45de16a019982b2ad98029662f5a47415b9b097a2ed36c5f4/diff:/var/lib/docker/overlay2/ed163113858ccb94dd607bce7bb415a35008a34a221cc1be5de25ff8bd1ede84/diff:/var/lib/docker/overlay2/06f1c6e1a82ba8769807a68e6e441f58ffe8439a035b67d7cebf161bc040d7b0/diff:/var/lib/docker/overlay2/7e607cd9dbbef30fcf67ab74ee77eb50ae189038e2fec6ff3e1a724596a8420f/diff:/var/lib/docker/overlay2/ded863cc4629c236f7ce6330bd8047ade2b68ad555850137fee811e742a10e87/diff:/var/lib/docker/overlay2/e47549618df7bb28e9f9d14678357c4326fa4b8c2557bd70176a341a94c7a3a6/diff:/var/lib/docker/overlay2/5acea08d8023b75b6c2b759e0b9950e7c2b87780b8133bbead82d7ca23a9521d/diff:/var/lib/docker/overlay2/dd9c6c06cee7cbeacd7427404922c280abf5a7156d6a8d1736426b0776ed9b6a/diff",
            "MergedDir": "/var/lib/docker/overlay2/aefcb0307c39886bb5a290509393341dd9b7899da91fbe8583d1d872a56d3fc8/merged",
            "UpperDir": "/var/lib/docker/overlay2/aefcb0307c39886bb5a290509393341dd9b7899da91fbe8583d1d872a56d3fc8/diff",
            "WorkDir": "/var/lib/docker/overlay2/aefcb0307c39886bb5a290509393341dd9b7899da91fbe8583d1d872a56d3fc8/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:687d50f2f6a697da02e05f2b2b9cb05c1d551f37c404ebe55fdec44b0ae8aa5c",
            "sha256:61aaf62a791c2bc62becfe887bde4a104422344922d8fc52e8bde6fd86d6c5ca",
            "sha256:f42714c778f6998ef1d4b84b9cbd4457db0eefb312af8bcc720fff6073cfee8b",
            "sha256:c2e33c62ce2f54c4ccf64c7d5b0bc72da928c023869af292f6b1056942da69e0",
            "sha256:f42f678ef32f88682993b1fceb144994c38d6363a4def149b1059aac853140a2",
            "sha256:29081f57cf8a67f6246dfceef5ac4b178ab45029fd5c09b0a73d8cd6871dbf9d",
            "sha256:e0ca8eb099f274fc0c8940e4dee4016670d0d73ecbeb0953450e31946003517c",
            "sha256:c323af1349a6a717ce13cfb7f6b1ce1ab37f96428f337d295a253c9d7a374b4c",
            "sha256:e95d3ab0db65735f1000baa7e456ea2ef4884cd1d7e20a401bea29ad2223ff73",
            "sha256:15b89e684e21fbbd344c0d716996b0f356bbab6990fc3211d0b04093da07b7a5"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-09T10:09:41.801473503+08:00"
    }
}

更多版本

docker.io/rabbitmq:3.7.25-management-alpine

linux/amd64 docker.io152.98MB2024-06-19 14:03
364

docker.io/rabbitmq:3.13.3-management

linux/amd64 docker.io250.63MB2024-06-19 14:31
675

docker.io/rabbitmq:3.7-rc-management

linux/amd64 docker.io179.94MB2024-06-21 09:37
208

docker.io/rabbitmq:3.13.4-management

linux/arm64 docker.io234.73MB2024-07-19 09:32
278

docker.io/rabbitmq:3.8.17-management-alpine

linux/amd64 docker.io153.30MB2024-08-07 12:09
365

docker.io/rabbitmq:3.13.7

linux/amd64 docker.io220.99MB2024-09-04 09:31
336

docker.io/rabbitmq:3.13.7-management

linux/amd64 docker.io250.68MB2024-09-04 09:45
332

docker.io/rabbitmqoperator/cluster-operator:2.10.0

linux/amd64 docker.io61.89MB2024-09-13 11:34
163

docker.io/rabbitmq:3.9.13-management

linux/amd64 docker.io256.46MB2024-10-14 14:58
244

docker.io/rabbitmq:4.0-management

linux/amd64 docker.io255.93MB2024-10-24 15:12
286

docker.io/rabbitmqoperator/cluster-operator:2.11.0

linux/amd64 docker.io69.44MB2024-11-21 18:22
85

docker.io/rabbitmq:management-alpine

linux/amd64 docker.io191.35MB2024-12-09 15:04
100

docker.io/rabbitmq:4.1.0-beta.2-management-alpine

linux/amd64 docker.io191.47MB2024-12-11 11:19
87

docker.io/rabbitmq:3-management

linux/amd64 docker.io254.35MB2024-12-16 11:25
64

docker.io/rabbitmq:3.8.14-management

linux/amd64 docker.io186.28MB2024-12-20 16:23
69

docker.io/rabbitmq:4.0

linux/amd64 docker.io230.52MB2025-01-06 10:52
58

docker.io/rabbitmq:3-management

linux/arm64 docker.io273.91MB2025-01-07 16:54
39

docker.io/rabbitmq:3.8.7-management

linux/amd64 docker.io186.54MB2025-01-08 14:38
66

docker.io/rabbitmq:4.0.4-management

linux/amd64 docker.io266.81MB2025-01-09 10:09
52

docker.io/rabbitmq:3.10.25-management

linux/amd64 docker.io245.61MB2025-01-13 11:48
35

docker.io/rabbitmq:3.11.28-management

linux/amd64 docker.io246.37MB2025-01-13 11:50
31