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

docker.io/library/rabbitmq:3.12.2-management - 国内下载镜像源 浏览次数:83 安全受验证的发布者-Docker
RabbitMQ是一个基于AMQP(Advanced Message Queuing Protocol)的开源消息队列服务器软件。它提供了高性能、高可靠性和易于扩展的消息传递解决方案。
源镜像 docker.io/library/rabbitmq:3.12.2-management
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/rabbitmq:3.12.2-management
镜像ID sha256:70ee31043d3ced5100b1c84d591879a7a088f3fee4fd124231b119bc54d8e62a
镜像TAG 3.12.2-management
大小 255.25MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD rabbitmq-server
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 83 次
贡献者
镜像创建 2023-06-02T21:59:28Z
同步时间 2024-11-15 11:42
更新时间 2025-01-16 20:01
开放端口
15671/tcp 15672/tcp 15691/tcp 15692/tcp 25672/tcp 4369/tcp 5671/tcp 5672/tcp
环境变量
PATH=/opt/rabbitmq/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RABBITMQ_DATA_DIR=/var/lib/rabbitmq RABBITMQ_VERSION=3.12.2 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 22.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-11-15 11:42

低危漏洞:74 中危漏洞:95 高危漏洞:2 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-06-03 05:59:28  0.00B 声明容器运行时监听的端口
EXPOSE map[15671/tcp:{} 15672/tcp:{}]
                        
# 2023-06-03 05:59:28  29.68MB 执行命令并创建新的镜像层
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
                        
# 2023-06-03 05:59:28  0.00B 设置默认要执行的命令
CMD ["rabbitmq-server"]
                        
# 2023-06-03 05:59:28  0.00B 声明容器运行时监听的端口
EXPOSE map[15691/tcp:{} 15692/tcp:{} 25672/tcp:{} 4369/tcp:{} 5671/tcp:{} 5672/tcp:{}]
                        
# 2023-06-03 05:59:28  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2023-06-03 05:59:28  1.36KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2023-06-03 05:59:28  642.00B 复制新文件或目录到容器中
COPY 10-defaults.conf 20-management_agent.disable_metrics_collector.conf /etc/rabbitmq/conf.d/ # buildkit
                        
# 2023-06-03 05:59:28  0.00B 设置环境变量 LANG LANGUAGE LC_ALL
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
                        
# 2023-06-03 05:59:28  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/rabbitmq]
                        
# 2023-06-03 05:59:28  0.00B 设置环境变量 HOME
ENV HOME=/var/lib/rabbitmq
                        
# 2023-06-03 05:59:28  21.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -sf /opt/rabbitmq/plugins /plugins # buildkit
                        
# 2023-06-03 05:59:28  23.00B 执行命令并创建新的镜像层
RUN /bin/sh -c gosu rabbitmq rabbitmq-plugins enable --offline rabbitmq_prometheus # buildkit
                        
# 2023-06-03 05:59:28  31.84MB 执行命令并创建新的镜像层
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
                        
# 2023-06-03 05:59:28  0.00B 设置环境变量 PATH
ENV PATH=/opt/rabbitmq/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2023-06-03 05:59:28  0.00B 设置环境变量 RABBITMQ_HOME
ENV RABBITMQ_HOME=/opt/rabbitmq
                        
# 2023-06-03 05:59:28  0.00B 设置环境变量 RABBITMQ_PGP_KEY_ID
ENV RABBITMQ_PGP_KEY_ID=0x0A9AF2115F4687BD29803A206B73A36E6026DFCA
                        
# 2023-06-03 05:59:28  0.00B 设置环境变量 RABBITMQ_VERSION
ENV RABBITMQ_VERSION=3.12.2
                        
# 2023-06-03 05:59:28  365.27KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	ln -vsf /etc/ssl/certs /etc/ssl/private /usr/local/etc/ssl; 		ldconfig; 	sed -i.ORIG -e '/\.include.*fips/s/.*/.include \/usr\/local\/etc\/ssl\/fipsmodule.cnf/' 	    -e '/# fips =/s/.*/fips = fips_sect/' /usr/local/etc/ssl/openssl.cnf; 	sed -i.ORIG -e '/^activate/s/^/#/' /usr/local/etc/ssl/fipsmodule.cnf; 	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
                        
# 2023-06-03 05:59:28  0.00B 设置环境变量 RABBITMQ_DATA_DIR
ENV RABBITMQ_DATA_DIR=/var/lib/rabbitmq
                        
# 2023-06-03 05:59:28  114.34MB 复制新文件或目录到容器中
COPY /usr/local/lib/ /usr/local/lib/ # buildkit
                        
# 2023-06-03 05:59:28  40.54KB 复制新文件或目录到容器中
COPY /usr/local/etc/ssl/ /usr/local/etc/ssl/ # buildkit
                        
# 2023-06-03 05:59:28  1.16MB 复制新文件或目录到容器中
COPY /usr/local/bin/ /usr/local/bin/ # buildkit
                        
# 2023-06-03 05:59:28  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2023-06-03 05:59:28  77.82MB 
/bin/sh -c #(nop) ADD file:bb1fa1d9d012ae826908afdce8c9fa2feebf221b2ab032e1535255905144411a in / 
                        
# 2023-06-03 05:59:28  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2023-06-03 05:59:28  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2023-06-03 05:59:28  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2023-06-03 05:59:28  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:70ee31043d3ced5100b1c84d591879a7a088f3fee4fd124231b119bc54d8e62a",
    "RepoTags": [
        "rabbitmq:3.12.2-management",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/rabbitmq:3.12.2-management"
    ],
    "RepoDigests": [
        "rabbitmq@sha256:2ae0b1448de431124cd77c9477f079d4a89080affb02ff85b800477c551566eb",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/rabbitmq@sha256:b279d3743cc34acce91da13ac1ead0483cf4c75eb7876ff166d6d7fd090ce93a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-06-02T21:59:28Z",
    "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:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "RABBITMQ_DATA_DIR=/var/lib/rabbitmq",
            "RABBITMQ_VERSION=3.12.2",
            "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"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/rabbitmq": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 255249807,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/ae6218d9d00b5c8e95f0aefe055d685ef33a9f72f4a8950b90e7b2f4bdc4e9a2/diff:/var/lib/docker/overlay2/376d04d97c4ea7b65a7291122ac1767bcc8dd6e2bd8f4b9ef67a05cdd5c91c06/diff:/var/lib/docker/overlay2/b1a17a611572c5e40fcdf246a4ba3c3afa443b6f8c35bddc9993b818ff286bc2/diff:/var/lib/docker/overlay2/7505f82d4b05e787df874d040310d96a64a96223774f952d2e52c1c9881054e6/diff:/var/lib/docker/overlay2/4d300ef1cfb5d46671ed8ac7bad6c66e42bb2fc230bce3f8511c1713336e06d5/diff:/var/lib/docker/overlay2/7ebbc0c7cb49bcdd8cf0db547388bb63784fb0bdefe49412604afb895605ed6a/diff:/var/lib/docker/overlay2/7f7345807158f4c95622ce8c443a426984c0966c1b62a644a432c615c3956347/diff:/var/lib/docker/overlay2/2b11bcffc326c6976fc882b49a3e76234bf35736c87b7c521637254c89fbd74b/diff:/var/lib/docker/overlay2/408d3b27711fc81ad45873a955593317bc6882516aaab925101deb2a6a00a726/diff:/var/lib/docker/overlay2/b2e83fbccf9192f1e3a66c4eb93403a9bc8adbe6d24d208bf59a9f47c9a73064/diff",
            "MergedDir": "/var/lib/docker/overlay2/9a8f4cc0a44f6db3b1c9f7ee96275ba7297709f13d317c6b645047200645690b/merged",
            "UpperDir": "/var/lib/docker/overlay2/9a8f4cc0a44f6db3b1c9f7ee96275ba7297709f13d317c6b645047200645690b/diff",
            "WorkDir": "/var/lib/docker/overlay2/9a8f4cc0a44f6db3b1c9f7ee96275ba7297709f13d317c6b645047200645690b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:bce45ce613d34bff6a3404a4c2d56a5f72640f804c3d0bd67e2cf0bf97cb950c",
            "sha256:cb7837da9bd7d45c740832c394156448b7191797a3cba573fc2b0bb97d2dae99",
            "sha256:57054d4ae2080fe6f257eb7a1e91ae29f0a764b37ba9952ef4380e2796b120b7",
            "sha256:0f5ddadc00187102e468d67e261a6a9d25ef6d488efd908a721d225cfdbd1f78",
            "sha256:3c9b6d2ae684355701ea8124e69583869f80bb21906cc824b399845898f88177",
            "sha256:06867597267f8b7cd5b728a5f179b321a520e5fe75e3cbbb76b3860b4421f0c6",
            "sha256:6e5afd4112916fca2433335cb070637ee5f7c31a9c8c39d5f8e12d2b96d5ee2e",
            "sha256:14af0d04476d9d4b1d637d53ecf967ecce06469888dc1d571bff84609f33f235",
            "sha256:c3b021a22fb7d9c8a0e203957dc6e60450b47857bbec0b2309b3e5fc73ffbade",
            "sha256:3bb436f6a606f0074afc6721689beef0b6935b51c0e473a7f2561e5ad2a8c0c3",
            "sha256:f38bb4c37e3820b36a8a60556a7b361c8d20b7e6515f77be099643ccfdd3dcdf"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-15T11:41:49.000875544+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
50