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

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

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

源镜像 docker.io/nacos/nacos-server:v2.0.3
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.0.3
镜像ID sha256:bdf60dc2ada3ce53a95a577f295f677d8e8aa02f3a7757c03c86ea58ae4a8234
镜像TAG v2.0.3
大小 1.05GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 bin/docker-startup.sh
工作目录 /home/nacos
OS/平台 linux/amd64
浏览量 58 次
贡献者
镜像创建 2021-07-31T10:08:03.622092867Z
同步时间 2024-12-25 11:55
更新时间 2025-01-17 08:56
开放端口
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
镜像标签
= 1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20180531: org.label-schema.schema-version 2021-07-31T10:05:17.868Z: 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 3ecf3cd381938b61cbb4d565dd7f1cc2320ea5ee: 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 v2.0.3: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: centos 7.5.1804 扫描引擎: Trivy 扫描时间: 2024-12-25 11:55

低危漏洞:1024 中危漏洞:969 高危漏洞:121 严重漏洞:14

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#nacos/nacos-server:v2.0.3#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.0.3#' 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.0.3 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.0.3  docker.io/nacos/nacos-server:v2.0.3'

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-07-31 18:08:03  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["bin/docker-startup.sh"]
                        
# 2021-07-31 18:08:03  0.00B 声明容器运行时监听的端口
EXPOSE map[8848/tcp:{}]
                        
# 2021-07-31 18:08:03  0.00B 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.0.3 HOT_FIX_FLAG= /bin/sh -c chmod +x bin/docker-startup.sh # buildkit
                        
# 2021-07-31 18:08:03  11.00B 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.0.3 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
                        
# 2021-07-31 18:08:03  2.53KB 复制文件或目录到容器中
ADD conf/application.properties conf/application.properties # buildkit
                        
# 2021-07-31 18:08:03  4.59KB 复制文件或目录到容器中
ADD bin/docker-startup.sh bin/docker-startup.sh # buildkit
                        
# 2021-07-31 18:08:03  22.10MB 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.0.3 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
                        
# 2021-07-31 18:08:02  127.77MB 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.0.3 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
                        
# 2021-07-31 18:08:00  117.59MB 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.0.3 HOT_FIX_FLAG= /bin/sh -c wget  https://github.com/alibaba/nacos/releases/download/${NACOS_VERSION}${HOT_FIX_FLAG}/nacos-server-${NACOS_VERSION}.tar.gz -P /home # buildkit
                        
# 2021-07-31 18:07:56  580.39MB 执行命令并创建新的镜像层
RUN |2 NACOS_VERSION=2.0.3 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
                        
# 2021-07-31 18:05:23  0.00B 设置工作目录为/home/nacos
WORKDIR /home/nacos
                        
# 2021-07-31 18:05:23  0.00B 定义构建参数
ARG HOT_FIX_FLAG=
                        
# 2021-07-31 18:05:23  0.00B 定义构建参数
ARG NACOS_VERSION=2.0.3
                        
# 2021-07-31 18:05:23  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
                        
# 2021-07-31 18:05:23  0.00B 
MAINTAINER pader "huangmnlove@163.com"
                        
# 2019-03-15 05:20:48  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2019-03-15 05:20:48  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=20180531
                        
# 2019-03-15 05:20:48  199.68MB 
/bin/sh -c #(nop) ADD file:9f1be15dfdf2c68a69abbbc3f8e936e35e40d208974b51055b9d9a74d30baaa9 in / 
                        
                    

镜像信息

{
    "Id": "sha256:bdf60dc2ada3ce53a95a577f295f677d8e8aa02f3a7757c03c86ea58ae4a8234",
    "RepoTags": [
        "nacos/nacos-server:v2.0.3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server:v2.0.3"
    ],
    "RepoDigests": [
        "nacos/nacos-server@sha256:87a3d8b78ec24c253a4db7c093097a7b256327eb5117cd9498e289b896918153",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nacos/nacos-server@sha256:90675cc79bc83ef9cd4c613a87f30cd96c174a668bc1ad099b5923d897678c20"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2021-07-31T10:08:03.622092867Z",
    "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,
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/home/nacos",
        "Entrypoint": [
            "bin/docker-startup.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "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=20180531",
            "org.opencontainers.image.created": "2021-07-31T10:05:17.868Z",
            "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": "3ecf3cd381938b61cbb4d565dd7f1cc2320ea5ee",
            "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.version": "v2.0.3"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1047538034,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b1e329d4470957c5fce58284e586fdecfe45bc59f00c229b3781d4f5fecd2156/diff:/var/lib/docker/overlay2/1dce4e6ec4b1ae8311b4a23e64e52739e93a4a8a3707ec579e853928df5fb9e1/diff:/var/lib/docker/overlay2/664436eec79e9e965db0180a504b09ec94424174f7324c2e8246309fa8fea870/diff:/var/lib/docker/overlay2/eb93c273a47254f2f5412f15c2ac72deab0bf2e08c8030fcef60789015042f21/diff:/var/lib/docker/overlay2/89df4d617a95dd864c8797e889bccc50aa0917dfca77baeb85af240f27a65dc6/diff:/var/lib/docker/overlay2/716085a06efa5cf01bec4d96aa9fcc1f06f6d3519fe9a860ae2eb10e845aeb92/diff:/var/lib/docker/overlay2/afa085e54016dfa20a2c527821917c5e34c9ee632ee8911ca54a65b8eae94603/diff:/var/lib/docker/overlay2/0150448f8c0200f81f4f86885928a21ff87486e8cd363c0bbf9b33e2f01f0aaf/diff",
            "MergedDir": "/var/lib/docker/overlay2/523d181b5fd99423379047301ab9dd2fd4af0f14246a94500350102eea66559f/merged",
            "UpperDir": "/var/lib/docker/overlay2/523d181b5fd99423379047301ab9dd2fd4af0f14246a94500350102eea66559f/diff",
            "WorkDir": "/var/lib/docker/overlay2/523d181b5fd99423379047301ab9dd2fd4af0f14246a94500350102eea66559f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4826cdadf1ef360641a2f2745453e2e8bb30e3e82a683f4d1145e94bf1c18d9f",
            "sha256:b57f145112c966a7a80cbd95445e464ac1bb1db99aef45a6b6cafae8cc2af37d",
            "sha256:99befb4b157dcecb285ac3369e2e99efc997e407a4476581dd01e64cf1489b97",
            "sha256:d2a0ffedc13b4f7c6d7d86b61e4a80200aa520938124d9b6d667ec235f6ff2ef",
            "sha256:31304023555ed374e7de54c06b8ddf7efa89e7a47764f8884d0332b0bca52ac2",
            "sha256:685f018a6ca3e9724937451faa732cb94af3cdcddebeeaa8f3e474ce4f0049bd",
            "sha256:4184df53b4d68426085683af126bf2673f678243d736958a9d8342645a794784",
            "sha256:09b8574bfbcd349c451c6005daeb7be3c225a4e1705c3a4a5e6940a91480ccb0",
            "sha256:8587801db6414382c53309fdf40a4b8c8e5a14fdc3024bb2dad36421e91f44f1"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-25T11:54:20.160876082+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
304

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
68

docker.io/nacos/nacos-server:1.2.1

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

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

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