docker.io/greatsql/greatsql:8.0.32-27 linux/amd64

docker.io/greatsql/greatsql:8.0.32-27 - 国内下载镜像源 浏览次数:22
源镜像 docker.io/greatsql/greatsql:8.0.32-27
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql:8.0.32-27
镜像ID sha256:694d1c5c2f62a5c3e2986c26ae9fa8bf08a6614cf37da44f3ca5f3ad0c0c8d77
镜像TAG 8.0.32-27
大小 347.50MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mysqld
启动入口 /greatsql-init.sh
工作目录
OS/平台 linux/amd64
浏览量 22 次
贡献者
镜像创建 2025-03-24T07:25:25.840919157Z
同步时间 2025-08-28 12:09
更新时间 2025-08-29 13:46
开放端口
3306/tcp 33060/tcp 33061/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.utf8 GREATSQL_DATA_DIR=/data/GreatSQL GREATSQL_USER=mysql GREATSQL_UID_GID=3306 GREATSQL_EXTRACT_DIR=/usr/local TMP_DIR=/tmp GREATSQL_PORT=3306 DEPS=libaio-devel numactl-devel xz openssl-devel openssl procps-ng util-linux GREATSQL_DOCKER_DOWNLOAD_URL=https://gitee.com/GreatSQL/GreatSQL-Docker/raw/greatsql-8.0.32-27/GreatSQL GREATSQL_INIT=greatsql-init.sh GREATSQL_SHRINK=greatsql-shrink.sh GREATSQL_TEST=greatsql-test.sql GREATSQL_CNF=my.cnf GREATSQL_DOWNLOAD_URL=https://product.greatdb.com/GreatSQL-8.0.32-27 GREATSQL_PKG=GreatSQL-8.0.32-27-Linux-glibc2.17-amd64-minimal
镜像标签
greatsql@greatdb.com: email https://greatsql.cn/forum.php: forum https://gitee.com/GreatSQL/GreatSQL-Docker: gitee 1.33.11: io.buildah.version greatsql.cn: maintainer

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql:8.0.32-27
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql:8.0.32-27  docker.io/greatsql/greatsql:8.0.32-27

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql:8.0.32-27
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql:8.0.32-27  docker.io/greatsql/greatsql:8.0.32-27

Shell快速替换命令

sed -i 's#greatsql/greatsql:8.0.32-27#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql:8.0.32-27#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql:8.0.32-27 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql:8.0.32-27  docker.io/greatsql/greatsql:8.0.32-27'

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-03-24 15:25:25  0.00B 设置默认要执行的命令
CMD ["mysqld"]
                        
# 2025-03-24 15:25:25  0.00B 声明容器运行时监听的端口
EXPOSE map[3306/tcp:{} 33060/tcp:{} 33061/tcp:{}]
                        
# 2025-03-24 15:25:25  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/greatsql-init.sh"]
                        
# 2025-03-24 15:25:25  234.14MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c microdnf install --nodocs -y ${DEPS} && microdnf update -y && curl -o ${TMP_DIR}/${GREATSQL_SHRINK} ${GREATSQL_DOCKER_DOWNLOAD_URL}/${GREATSQL_SHRINK} && curl -o ${TMP_DIR}/${GREATSQL_TEST} ${GREATSQL_DOCKER_DOWNLOAD_URL}/${GREATSQL_TEST} && curl -o /${GREATSQL_INIT} ${GREATSQL_DOCKER_DOWNLOAD_URL}/${GREATSQL_INIT} && curl -o /etc/${GREATSQL_CNF} ${GREATSQL_DOCKER_DOWNLOAD_URL}/${GREATSQL_CNF} && /usr/sbin/groupadd -g ${GREATSQL_UID_GID} ${GREATSQL_USER} && /usr/sbin/useradd -u ${GREATSQL_UID_GID} -r -g ${GREATSQL_UID_GID} -s /sbin/nologin ${GREATSQL_USER} && curl -o ${TMP_DIR}/${GREATSQL_PKG}.tar.xz ${GREATSQL_DOWNLOAD_URL}/${GREATSQL_PKG}.tar.xz && tar xf ${TMP_DIR}/${GREATSQL_PKG}.tar.xz -C ${GREATSQL_EXTRACT_DIR} && ln -s ${GREATSQL_EXTRACT_DIR}/GreatSQL-* ${GREATSQL_EXTRACT_DIR}/GreatSQL && ln -s ${GREATSQL_EXTRACT_DIR}/GreatSQL/bin/* /usr/bin/ && /bin/bash ${TMP_DIR}/${GREATSQL_SHRINK} ; mkdir -p ${GREATSQL_DATA_DIR} && chown -R ${GREATSQL_USER}:${GREATSQL_USER} ${GREATSQL_DATA_DIR} && chmod -R ug+rwX /etc/my.cnf && chmod +x /${GREATSQL_INIT} && microdnf clean all && rm -f ${TMP_DIR}/*xz && rm -fr /usr/share/doc /usr/share/man /usr/share/misc # buildkit
                        
# 2025-03-24 15:25:25  0.00B 设置环境变量 LANG GREATSQL_DATA_DIR GREATSQL_USER GREATSQL_UID_GID GREATSQL_EXTRACT_DIR TMP_DIR GREATSQL_PORT DEPS GREATSQL_DOCKER_DOWNLOAD_URL GREATSQL_INIT GREATSQL_SHRINK GREATSQL_TEST GREATSQL_CNF GREATSQL_DOWNLOAD_URL GREATSQL_PKG
ENV LANG=en_US.utf8 GREATSQL_DATA_DIR=/data/GreatSQL GREATSQL_USER=mysql GREATSQL_UID_GID=3306 GREATSQL_EXTRACT_DIR=/usr/local TMP_DIR=/tmp GREATSQL_PORT=3306 DEPS=libaio-devel numactl-devel xz openssl-devel openssl procps-ng util-linux GREATSQL_DOCKER_DOWNLOAD_URL=https://gitee.com/GreatSQL/GreatSQL-Docker/raw/greatsql-8.0.32-27/GreatSQL GREATSQL_INIT=greatsql-init.sh GREATSQL_SHRINK=greatsql-shrink.sh GREATSQL_TEST=greatsql-test.sql GREATSQL_CNF=my.cnf GREATSQL_DOWNLOAD_URL=https://product.greatdb.com/GreatSQL-8.0.32-27 GREATSQL_PKG=GreatSQL-8.0.32-27-Linux-glibc2.17-amd64-minimal
                        
# 2025-03-24 15:25:25  0.00B 定义构建参数
ARG TARGETARCH=amd64
                        
# 2025-03-24 15:25:25  0.00B 添加元数据标签
LABEL maintainer=greatsql.cn email=greatsql@greatdb.com forum=https://greatsql.cn/forum.php gitee=https://gitee.com/GreatSQL/GreatSQL-Docker
                        
# 2025-03-14 01:52:52  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2025-03-14 01:52:51  113.37MB 
/bin/sh -c #(nop) ADD file:8083772d096cae13616d1d314d086539b8428dee66c274ed4dd7586f5b187097 in / 
                        
                    

镜像信息

{
    "Id": "sha256:694d1c5c2f62a5c3e2986c26ae9fa8bf08a6614cf37da44f3ca5f3ad0c0c8d77",
    "RepoTags": [
        "greatsql/greatsql:8.0.32-27",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql:8.0.32-27"
    ],
    "RepoDigests": [
        "greatsql/greatsql@sha256:69304dfc7712c13274fa722fd4aa1da62402d6f47251e5073f8af858b59e7fac",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql@sha256:8c16b3cbcec32d4944c60fcd48a4078619f48bb8abb8a237e4851f7158d46693"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-03-24T07:25:25.840919157Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "3306/tcp": {},
            "33060/tcp": {},
            "33061/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=en_US.utf8",
            "GREATSQL_DATA_DIR=/data/GreatSQL",
            "GREATSQL_USER=mysql",
            "GREATSQL_UID_GID=3306",
            "GREATSQL_EXTRACT_DIR=/usr/local",
            "TMP_DIR=/tmp",
            "GREATSQL_PORT=3306",
            "DEPS=libaio-devel numactl-devel xz openssl-devel openssl procps-ng util-linux",
            "GREATSQL_DOCKER_DOWNLOAD_URL=https://gitee.com/GreatSQL/GreatSQL-Docker/raw/greatsql-8.0.32-27/GreatSQL",
            "GREATSQL_INIT=greatsql-init.sh",
            "GREATSQL_SHRINK=greatsql-shrink.sh",
            "GREATSQL_TEST=greatsql-test.sql",
            "GREATSQL_CNF=my.cnf",
            "GREATSQL_DOWNLOAD_URL=https://product.greatdb.com/GreatSQL-8.0.32-27",
            "GREATSQL_PKG=GreatSQL-8.0.32-27-Linux-glibc2.17-amd64-minimal"
        ],
        "Cmd": [
            "mysqld"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/greatsql-init.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "email": "greatsql@greatdb.com",
            "forum": "https://greatsql.cn/forum.php",
            "gitee": "https://gitee.com/GreatSQL/GreatSQL-Docker",
            "io.buildah.version": "1.33.11",
            "maintainer": "greatsql.cn"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 347504771,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b82918762c4c12114bc0bcb9631ddd7fe1ba0b80c425e4018c40ce9c7b4ab2a0/diff",
            "MergedDir": "/var/lib/docker/overlay2/498bd3b37e1d3e337aea7d39ff83c44541d636033f54128e5ed8ac0cb84966e2/merged",
            "UpperDir": "/var/lib/docker/overlay2/498bd3b37e1d3e337aea7d39ff83c44541d636033f54128e5ed8ac0cb84966e2/diff",
            "WorkDir": "/var/lib/docker/overlay2/498bd3b37e1d3e337aea7d39ff83c44541d636033f54128e5ed8ac0cb84966e2/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a1c22825e23fde39200339cd692b4a57956e5836c758b4415a84e61410d9238e",
            "sha256:cb5bf083419d254a70ee06eceb7efc2b51a9150e91c547137dffa0aaf2c73aec"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-08-28T12:08:47.566057233+08:00"
    }
}

更多版本

docker.io/greatsql/greatsql:8.0.32-27

linux/amd64 docker.io347.50MB2025-08-28 12:09
21