docker.io/nacos/nacos-server:v2.2.2 linux/amd64

docker.io/nacos/nacos-server:v2.2.2 - 国内下载镜像源 浏览次数:63 安全受验证的发布者-nacos
🚀 根据 Docker Hub 上的信息,这个镜像的描述是:

Nacos 是一个基于 Java 的服务发现、配置管理和服务治理平台,它提供了丰富的功能,如服务注册、 discovery、健康检查、配置管理、 Metrics 等,为微服务架构带来了极大的便捷。NacosServer 镜像用于启动 Nacos 服务器,可以在 Docker 容器中运行。

源镜像 docker.io/nacos/nacos-server:v2.2.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.2.2
镜像ID sha256:0514f8ffee17555bc15df95727bfc255c1181bd0c5d4609aa4e7b104ad9f5d32
镜像TAG v2.2.2
大小 1.17GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 bin/docker-startup.sh
工作目录 /home/nacos
OS/平台 linux/amd64
浏览量 63 次
贡献者
镜像创建 2023-04-14T08:14:22.688463294Z
同步时间 2024-12-04 13:49
更新时间 2025-01-15 16:26
开放端口
8848/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin MODE=cluster PREFER_HOST_MODE=ip BASE_DIR=/home/nacos CLASSPATH=.:/home/nacos/conf: CLUSTER_CONF=/home/nacos/conf/cluster.conf FUNCTION_MODE=all JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk NACOS_USER=nacos JAVA=/usr/lib/jvm/java-1.8.0-openjdk/bin/java JVM_XMS=1g JVM_XMX=1g JVM_XMN=512m JVM_MS=128m JVM_MMS=320m NACOS_DEBUG=n TOMCAT_ACCESSLOG_ENABLED=false TIME_ZONE=Asia/Shanghai
镜像标签
20201113: org.label-schema.build-date GPLv2: org.label-schema.license CentOS Base Image: org.label-schema.name 1.0: org.label-schema.schema-version CentOS: org.label-schema.vendor 2023-04-14T08:12:07.265Z: org.opencontainers.image.created This project contains a Docker image meant to facilitate the deployment of Nacos .: org.opencontainers.image.description : org.opencontainers.image.licenses 979baf11daf140bd4173697ca7a4d270d3ff3ed8: org.opencontainers.image.revision https://github.com/nacos-group/nacos-docker: org.opencontainers.image.source nacos-docker: org.opencontainers.image.title https://github.com/nacos-group/nacos-docker: org.opencontainers.image.url CentOS: org.opencontainers.image.vendor v2.2.2: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: centos 7.9.2009 扫描引擎: Trivy 扫描时间: 2024-12-04 13:51

低危漏洞:1007 中危漏洞:806 高危漏洞:51 严重漏洞:5

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.2.2
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.2.2  docker.io/nacos/nacos-server:v2.2.2

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.2.2
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.2.2  docker.io/nacos/nacos-server:v2.2.2

Shell快速替换命令

sed -i 's#nacos/nacos-server:v2.2.2#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.2.2#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.2.2 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.2.2  docker.io/nacos/nacos-server:v2.2.2'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.2.2 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.2.2  docker.io/nacos/nacos-server:v2.2.2'

镜像构建历史


# 2023-04-14 16:14:22  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["bin/docker-startup.sh"]
                        
# 2023-04-14 16:14:22  0.00B 声明容器运行时监听的端口
EXPOSE map[8848/tcp:{}]
                        
# 2023-04-14 16:14:22  0.00B 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.2.2 HOT_FIX_FLAG= /bin/sh -c chmod +x bin/docker-startup.sh # buildkit
                        
# 2023-04-14 16:14:22  11.00B 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.2.2 HOT_FIX_FLAG= /bin/sh -c mkdir -p logs 	&& cd logs 	&& touch start.out 	&& ln -sf /dev/stdout start.out 	&& ln -sf /dev/stderr start.out # buildkit
                        
# 2023-04-14 16:14:22  2.63KB 复制文件或目录到容器中
ADD conf/application.properties conf/application.properties # buildkit
                        
# 2023-04-14 16:14:22  4.53KB 复制文件或目录到容器中
ADD bin/docker-startup.sh bin/docker-startup.sh # buildkit
                        
# 2023-04-14 16:14:22  24.69MB 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.2.2 HOT_FIX_FLAG= /bin/sh -c yum autoremove -y wget     && ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone     && yum clean all # buildkit
                        
# 2023-04-14 16:14:21  158.23MB 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.2.2 HOT_FIX_FLAG= /bin/sh -c tar -xzvf /home/nacos-server-${NACOS_VERSION}.tar.gz -C /home     && rm -rf /home/nacos-server-${NACOS_VERSION}.tar.gz /home/nacos/bin/* /home/nacos/conf/*.properties /home/nacos/conf/*.example /home/nacos/conf/nacos-mysql.sql # buildkit
                        
# 2023-04-14 16:14:19  148.91MB 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.2.2 HOT_FIX_FLAG= /bin/sh -c wget --no-check-certificate https://github.com/alibaba/nacos/releases/download/${NACOS_VERSION}${HOT_FIX_FLAG}/nacos-server-${NACOS_VERSION}.tar.gz -P /home # buildkit
                        
# 2023-04-14 16:14:15  632.11MB 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.2.2 HOT_FIX_FLAG= /bin/sh -c set -x     && yum update -y     && yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel wget iputils nc vim libcurl # buildkit
                        
# 2023-04-14 16:12:12  0.00B 设置工作目录为/home/nacos
WORKDIR /home/nacos
                        
# 2023-04-14 16:12:12  0.00B 定义构建参数
ARG HOT_FIX_FLAG=
                        
# 2023-04-14 16:12:12  0.00B 定义构建参数
ARG NACOS_VERSION=2.2.2
                        
# 2023-04-14 16:12:12  0.00B 设置环境变量 MODE PREFER_HOST_MODE BASE_DIR CLASSPATH CLUSTER_CONF FUNCTION_MODE JAVA_HOME NACOS_USER JAVA JVM_XMS JVM_XMX JVM_XMN JVM_MS JVM_MMS NACOS_DEBUG TOMCAT_ACCESSLOG_ENABLED TIME_ZONE
ENV MODE=cluster PREFER_HOST_MODE=ip BASE_DIR=/home/nacos CLASSPATH=.:/home/nacos/conf: CLUSTER_CONF=/home/nacos/conf/cluster.conf FUNCTION_MODE=all JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk NACOS_USER=nacos JAVA=/usr/lib/jvm/java-1.8.0-openjdk/bin/java JVM_XMS=1g JVM_XMX=1g JVM_XMN=512m JVM_MS=128m JVM_MMS=320m NACOS_DEBUG=n TOMCAT_ACCESSLOG_ENABLED=false TIME_ZONE=Asia/Shanghai
                        
# 2023-04-14 16:12:12  0.00B 
MAINTAINER pader "huangmnlove@163.com"
                        
# 2021-09-16 02:20:23  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2021-09-16 02:20:23  0.00B 
/bin/sh -c #(nop)  LABEL org.label-schema.schema-version=1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20201113 org.opencontainers.image.title=CentOS Base Image org.opencontainers.image.vendor=CentOS org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.created=2020-11-13 00:00:00+00:00
                        
# 2021-09-16 02:20:23  203.94MB 
/bin/sh -c #(nop) ADD file:b3ebbe8bd304723d43b7b44a6d990cd657b63d93d6a2a9293983a30bfc1dfa53 in / 
                        
                    

镜像信息

{
    "Id": "sha256:0514f8ffee17555bc15df95727bfc255c1181bd0c5d4609aa4e7b104ad9f5d32",
    "RepoTags": [
        "nacos/nacos-server:v2.2.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.2.2"
    ],
    "RepoDigests": [
        "nacos/nacos-server@sha256:86548b27d03bc72507294e3fd9d7a1c6be99ee081f1b628577d3e5b426cfab46",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server@sha256:b6ebffcf90ab4f84df00a6b0ba7428e6594ae6059d6588f1f817db03a3884676"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-04-14T08:14:22.688463294Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "pader \"huangmnlove@163.com\"",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8848/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "MODE=cluster",
            "PREFER_HOST_MODE=ip",
            "BASE_DIR=/home/nacos",
            "CLASSPATH=.:/home/nacos/conf:",
            "CLUSTER_CONF=/home/nacos/conf/cluster.conf",
            "FUNCTION_MODE=all",
            "JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk",
            "NACOS_USER=nacos",
            "JAVA=/usr/lib/jvm/java-1.8.0-openjdk/bin/java",
            "JVM_XMS=1g",
            "JVM_XMX=1g",
            "JVM_XMN=512m",
            "JVM_MS=128m",
            "JVM_MMS=320m",
            "NACOS_DEBUG=n",
            "TOMCAT_ACCESSLOG_ENABLED=false",
            "TIME_ZONE=Asia/Shanghai"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/home/nacos",
        "Entrypoint": [
            "bin/docker-startup.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.label-schema.build-date": "20201113",
            "org.label-schema.license": "GPLv2",
            "org.label-schema.name": "CentOS Base Image",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.vendor": "CentOS",
            "org.opencontainers.image.created": "2023-04-14T08:12:07.265Z",
            "org.opencontainers.image.description": "This project contains a Docker image meant to facilitate the deployment of Nacos .",
            "org.opencontainers.image.licenses": "",
            "org.opencontainers.image.revision": "979baf11daf140bd4173697ca7a4d270d3ff3ed8",
            "org.opencontainers.image.source": "https://github.com/nacos-group/nacos-docker",
            "org.opencontainers.image.title": "nacos-docker",
            "org.opencontainers.image.url": "https://github.com/nacos-group/nacos-docker",
            "org.opencontainers.image.vendor": "CentOS",
            "org.opencontainers.image.version": "v2.2.2"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1167883268,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/134ce9a3d18faac41403711f09c8eb9b2ba07429df9f1a1f711e2ea7c9fdeb4c/diff:/var/lib/docker/overlay2/154df2c39958e0c241849ac06b83cc57d6885040256fe0c1016e0271c108cccb/diff:/var/lib/docker/overlay2/0bd21713938c2f5cb10b310d3cced2cef02bbba9dd71586f23277a66183153d4/diff:/var/lib/docker/overlay2/9040ca994889d42c5a029522d027c8c2fe16b7966939e653f52de22d0d701c14/diff:/var/lib/docker/overlay2/81ff75f918caf456007eb101e6ebddfd698905de10500d742997dc0fc5968b4e/diff:/var/lib/docker/overlay2/7ede4e837628879cd972878defa5f0e62b854eb7bfc9703e9863899fb3a72540/diff:/var/lib/docker/overlay2/4f0a9720aa7a24e74777c3bfbec30cc25a36681b5048b7b8ec702d935c3f4099/diff:/var/lib/docker/overlay2/261aa46af477624727bdd918ae4d520c27d1a947e5132d60c702d319c433977d/diff:/var/lib/docker/overlay2/82d6a9ca9375611e450938e0092a1970d668805e2810b3e70969b2f93a03567f/diff",
            "MergedDir": "/var/lib/docker/overlay2/dde9be15dc934009a9cb7a7826d92dfeb7df7000fe8dbc206b8fc9c4523849d3/merged",
            "UpperDir": "/var/lib/docker/overlay2/dde9be15dc934009a9cb7a7826d92dfeb7df7000fe8dbc206b8fc9c4523849d3/diff",
            "WorkDir": "/var/lib/docker/overlay2/dde9be15dc934009a9cb7a7826d92dfeb7df7000fe8dbc206b8fc9c4523849d3/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:174f5685490326fc0a1c0f5570b8663732189b327007e47ff13d2ca59673db02",
            "sha256:75dbb14f5866d2a3d3c61e5c31eaa9b83ec98d93a747c81dae213eec7f97e501",
            "sha256:876bd7e4386629d499a3d6f6320ea66db6b2d164d2a5d67dea2ff92c6a63ae10",
            "sha256:2fe7de956fc7597d1351adbc22754b77216f2553b577fdec5f207daa824bce35",
            "sha256:a7ec1d3599baaa29f94483cac17da1b8d42943f3e7ff803a12d7c032a6620536",
            "sha256:fa8e554c9645c017a4f884ded01852787b9151ea55269a0bebd7a9452f0952b4",
            "sha256:c4ca7458c96e0f2efffa9cc46663741cf001f2ef49744095a5d715c3139b5737",
            "sha256:ea20750a129b453e5e30f4593ccf31a18ff1800fab0334839b3ecbbbc93fb2bb",
            "sha256:8cad285c758b9c3af4882e5fb6854e62cef14a055a9d4a0c1555b19739420b2e",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-04T13:48:46.997551888+08:00"
    }
}

更多版本

docker.io/nacos/nacos-server:v2.1.1

linux/amd64 docker.io1.06GB2024-06-18 14:19
761

docker.io/nacos/nacos-server:v2.3.2

linux/amd64 docker.io819.90MB2024-06-19 16:02
1818

docker.io/nacos/nacos-server:v2.3.2-slim

linux/amd64 docker.io387.87MB2024-06-20 10:00
364

docker.io/nacos/nacos-server:v2.2.0

linux/amd64 docker.io1.07GB2024-06-27 09:50
572

docker.io/nacos/nacos-server:v2.2.3

linux/amd64 docker.io814.50MB2024-07-02 13:50
425

docker.io/nacos/nacos-server:v2.0.4

linux/amd64 docker.io1.08GB2024-07-16 16:06
452

docker.io/nacos/nacos-server:v2.4.0-slim

linux/amd64 docker.io387.00MB2024-07-23 14:11
245

docker.io/nacos/nacos-server:v2.4.0

linux/amd64 docker.io283.31MB2024-07-25 14:04
438

docker.io/nacos/nacos-server:v2.2.0-slim

linux/arm64 docker.io300.31MB2024-07-26 14:47
353

docker.io/nacos/nacos-server:v2.4.0.1

linux/amd64 docker.io283.31MB2024-07-27 11:29
713

docker.io/nacos/nacos-server:v2.4.0-slim

linux/arm64 docker.io377.73MB2024-07-30 16:26
369

docker.io/nacos/nacos-server:v1.4.7

linux/amd64 docker.io765.23MB2024-08-05 11:31
342

docker.io/nacos/nacos-server:v2.2.1

linux/amd64 docker.io1.17GB2024-08-09 12:32
263

docker.io/nacos/nacos-server:v2.3.1

linux/amd64 docker.io819.86MB2024-08-09 14:56
279

docker.io/nacos/nacos-server:v2.4.1

linux/arm64 docker.io293.25MB2024-08-27 14:56
996

docker.io/nacos/nacos-server:v2.4.1-slim

linux/amd64 docker.io386.21MB2024-08-27 14:59
305

docker.io/nacos/nacos-server:v2.3.0

linux/amd64 docker.io816.27MB2024-09-12 23:45
163

docker.io/nacos/nacos-server:v2.4.2.1

linux/amd64 docker.io285.21MB2024-10-01 20:48
228

docker.io/nacos/nacos-server:2.0.2

linux/amd64 docker.io1.05GB2024-10-16 23:30
179

docker.io/nacos/nacos-server:v2.1.0

linux/amd64 docker.io1.06GB2024-10-17 13:58
147

docker.io/nacos/nacos-server:v2.4.3

linux/amd64 docker.io285.89MB2024-10-17 14:07
778

docker.io/nacos/nacos-server:v2.4.3

linux/arm64 docker.io295.17MB2024-10-22 17:42
535

docker.io/nacos/nacos-server:v2.3.0-slim

linux/arm64 docker.io374.99MB2024-11-06 11:10
63

docker.io/nacos/nacos-server:v2.1.0-slim

linux/arm64 docker.io314.21MB2024-11-16 11:29
83

docker.io/nacos/nacos-server:v2.2.2

linux/amd64 docker.io1.17GB2024-12-04 13:49
62

docker.io/nacos/nacos-server:1.4.2

linux/amd64 docker.io955.58MB2024-12-13 18:18
69

docker.io/nacos/nacos-server:1.2.1

linux/amd64 docker.io731.57MB2024-12-23 17:07
54

docker.io/nacos/nacos-server:v2.0.3

linux/amd64 docker.io1.05GB2024-12-25 11:55
58