docker.io/library/rabbitmq:4.0-management linux/amd64

docker.io/library/rabbitmq:4.0-management - 国内下载镜像源 浏览次数:50 安全受验证的发布者-Docker
RabbitMQ是一个基于AMQP(Advanced Message Queuing Protocol)的开源消息队列服务器软件。它提供了高性能、高可靠性和易于扩展的消息传递解决方案。
源镜像 docker.io/library/rabbitmq:4.0-management
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/rabbitmq:4.0-management
镜像ID sha256:f24092b2eabeeaf407d05d16edcec3db60f6b6d2866f713b59d7b6c52fbf7f50
镜像TAG 4.0-management
大小 266.93MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD rabbitmq-server
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 50 次
贡献者
镜像创建 2024-09-20T21:15:09Z
同步时间 2025-01-04 17:06
更新时间 2025-01-18 06:42
开放端口
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.5 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-04 17:06

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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/rabbitmq:4.0-management && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/rabbitmq:4.0-management  docker.io/library/rabbitmq:4.0-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.63MB 执行命令并创建新的镜像层
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.5
                        
# 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.03MB 复制新文件或目录到容器中
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:f24092b2eabeeaf407d05d16edcec3db60f6b6d2866f713b59d7b6c52fbf7f50",
    "RepoTags": [
        "rabbitmq:4.0-management",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/rabbitmq:4.0-management"
    ],
    "RepoDigests": [
        "rabbitmq@sha256:4a2b95d53111fe589fb44b5152ff87253c63eb227eee21f39494f64d9d96c0b2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/rabbitmq@sha256:ea7beca82dadf8a0b44c7e64f0c34279c163a32b8e5b81623dab79a121f90a6e"
    ],
    "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.5",
            "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": 266925647,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/99aa5e6459f4a937b9666972db1618a46b3bdb655945d7dbcb9ddbffc4ff0a1c/diff:/var/lib/docker/overlay2/bb1e03755762dbb75cd8ecf2f6dacbff05a1a9ae5ab55fc106ee583dd5e32b22/diff:/var/lib/docker/overlay2/7754f3de22e4303e790e79952fe59a1cd905bd6e4be05ad3d2c7dd66d81464cf/diff:/var/lib/docker/overlay2/2a251e5c96387755b2506add3ed4ef710ba5ead1efea987b6a683132c53c3fcc/diff:/var/lib/docker/overlay2/f2122af6a1f9a4479540bf74ffd762fe5c5c531797842225f14e7492853876b6/diff:/var/lib/docker/overlay2/dc9331032425fd8d99d21f04a27728c1977bba38098a8866b76c0e47209782e9/diff:/var/lib/docker/overlay2/c85b47e637552fe86d9efda8b5162b65be38569683d49e7c5b5ac9952c1d5f7d/diff:/var/lib/docker/overlay2/25247e5d88c307dca54a4b348f857da62d786ba90d98fb02daad2b62248bdf06/diff:/var/lib/docker/overlay2/dd9c6c06cee7cbeacd7427404922c280abf5a7156d6a8d1736426b0776ed9b6a/diff",
            "MergedDir": "/var/lib/docker/overlay2/37e538b0ce9b713a0d369accb44304b7eea9ee5b976ad03acc6888629f5ef0fe/merged",
            "UpperDir": "/var/lib/docker/overlay2/37e538b0ce9b713a0d369accb44304b7eea9ee5b976ad03acc6888629f5ef0fe/diff",
            "WorkDir": "/var/lib/docker/overlay2/37e538b0ce9b713a0d369accb44304b7eea9ee5b976ad03acc6888629f5ef0fe/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:687d50f2f6a697da02e05f2b2b9cb05c1d551f37c404ebe55fdec44b0ae8aa5c",
            "sha256:994512c77e9d5c5ecfe2d298f2ccadab8c84b993445a3fc5d73386a2f52bcad9",
            "sha256:46d76929cfbcc9449c4920d0e820bac94133f406ad7900f50878b74e38743122",
            "sha256:5fa8ac27a42d092a817f563de2b8ad69b435837e28cf50fc8f44393ab899cfca",
            "sha256:fc3ac604cf821b915f5bd715f1d33fd07a3a20c91002cc4067230afb44768af5",
            "sha256:c47b512b1f0b8ac1ea2f5fd80cba47ee7e6d1fe09a17e20c26c5c1cd79cd8845",
            "sha256:7650cbcfb821f42b8f56cfcf525fc1d18c480116648b63892e5c6bb0496a7a0f",
            "sha256:0f8983b422f674e444b6e627ca7afd058fb563b5e542c3d4d1a39e1c61637788",
            "sha256:5c8c02bce2b44582b90c829ba745db23000687a582826587020f4fdc3af9345c",
            "sha256:acdfe6bdc75ab0c648be7f90943a82b051744f40bc4bbbdaa8fee4d2435c0607"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-04T17:06:22.088906809+08:00"
    }
}

更多版本

docker.io/library/rabbitmq:3.10.25-management

linux/arm64 docker.io229.06MB2024-07-12 11:28
657

docker.io/library/rabbitmq:3.12.2-management

linux/arm64 docker.io236.83MB2024-07-31 14:57
371

docker.io/library/rabbitmq:3.9-management

linux/amd64 docker.io245.36MB2024-08-03 16:57
422

docker.io/library/rabbitmq:3.10.25-management

linux/amd64 docker.io245.61MB2024-08-15 13:41
243

docker.io/library/rabbitmq:3.13.7-management

linux/amd64 docker.io250.71MB2024-09-30 20:21
164

docker.io/library/rabbitmq:3.12.2-management

linux/amd64 docker.io255.25MB2024-11-15 11:42
82

docker.io/library/rabbitmq:3-management

linux/amd64 docker.io250.76MB2024-12-09 15:50
55

docker.io/library/rabbitmq:3.12.14-management

linux/amd64 docker.io246.64MB2024-12-30 10:16
48

docker.io/library/rabbitmq:3.12.14-management

linux/arm64 docker.io230.05MB2024-12-30 10:19
44

docker.io/library/rabbitmq:4.0-management

linux/amd64 docker.io266.93MB2025-01-04 17:06
49