docker.io/greatsql/greatsql_shell:latest linux/amd64

docker.io/greatsql/greatsql_shell:latest - 国内下载镜像源 浏览次数:11

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

源镜像 docker.io/greatsql/greatsql_shell:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql_shell:latest
镜像ID sha256:5e0eec135d0c6887e8b15fc76917a75a47648b3d5abc497c9bc1b49b91d91180
镜像TAG latest
大小 928.92MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 11 次
贡献者
镜像创建 2025-10-23T07:05:56.402482396Z
同步时间 2025-12-16 17:46
更新时间 2025-12-17 01:08
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DEPS=libssh python38 python38-pyyaml python38-dateutil GREATSQLSH_DOWNLOAD_URL=https://product.greatdb.com/GreatSQL-8.4.4-4 GREATSQLSH=greatsql-shell-8.4.4-4-glibc2.28-amd64 BASE_DIR=/usr/local
镜像标签
greatsql@greatdb.com: email https://greatsql.cn/forum.php: forum https://gitee.com/GreatSQL/GreatSQL-Docker: gitee greatsql.cn: maintainer 20210915: 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

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-10-23 15:05:56  0.00B 设置默认要执行的命令
CMD ["bash"]
                        
# 2025-10-23 15:05:56  697.65MB 执行命令并创建新的镜像层
RUN |2 TARGETARCH=amd64 GREATSQL_VERSION=8.4.4-4 /bin/sh -c echo ; echo "0. init"; (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); rm -f /lib/systemd/system/multi-user.target.wants/*;rm -f /etc/systemd/system/*.wants/*;rm -f /lib/systemd/system/local-fs.target.wants/*; rm -f /lib/systemd/system/sockets.target.wants/*udev*; rm -f /lib/systemd/system/sockets.target.wants/*initctl*; rm -f /lib/systemd/system/basic.target.wants/*;rm -f /lib/systemd/system/anaconda.target.wants/*; rm -f /etc/yum.repos.d/* ; echo ; echo "1. replace aliyun yum repo" ; curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo > /dev/null 2>&1 && sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo > /dev/null 2>&1 && dnf clean all > /dev/null 2>&1 && dnf install -y epel-release > /dev/null 2>&1 && rm -f /etc/yum.repos.d/CentOS*Linux-* ; rm -f /etc/yum.repos.d/CentOS*Stream-* ; echo ; echo "2. yum update and clean" ; dnf -y update > /dev/null 2>&1 && dnf clean all > /dev/null 2>&1 && rm -f /etc/yum.repos.d/CentOS*Linux-* ; rm -f /etc/yum.repos.d/CentOS*Stream-* ; echo; echo "3. install ${DEPS}" ; dnf install -y ${DEPS} > /dev/null 2>&1 && pip3.8 install -i https://pypi.tuna.tsinghua.edu.cn/simple --user certifi pyclamd numpy > /dev/null 2>&1 && echo ; echo "4. download greatsql-shell ${GREATSQLSH_DOWNLOAD_URL}/${GREATSQLSH}.tar.xz" ; curl -o ${BASE_DIR}/${GREATSQLSH}.tar.xz ${GREATSQLSH_DOWNLOAD_URL}/${GREATSQLSH}.tar.xz > /dev/null 2>&1 && tar xf ${BASE_DIR}/${GREATSQLSH}.tar.xz -C ${BASE_DIR} > /dev/null 2>&1 && rm -f ${BASE_DIR}/${GREATSQLSH}.tar.xz > /dev/null 2>&1 && ln -s ${BASE_DIR}/greatsql-shell-${GREATSQL_VERSION}-*/bin/mysqlsh ${BASE_DIR}/bin/mysqlsh # buildkit
                        
# 2025-10-23 15:05:56  0.00B 设置环境变量 DEPS GREATSQLSH_DOWNLOAD_URL GREATSQLSH BASE_DIR
ENV DEPS=libssh python38 python38-pyyaml python38-dateutil GREATSQLSH_DOWNLOAD_URL=https://product.greatdb.com/GreatSQL-8.4.4-4 GREATSQLSH=greatsql-shell-8.4.4-4-glibc2.28-amd64 BASE_DIR=/usr/local
                        
# 2025-10-23 15:05:56  0.00B 定义构建参数
ARG TARGETARCH=amd64 GREATSQL_VERSION=8.4.4-4
                        
# 2025-10-23 15:05:56  0.00B 添加元数据标签
LABEL maintainer=greatsql.cn email=greatsql@greatdb.com forum=https://greatsql.cn/forum.php gitee=https://gitee.com/GreatSQL/GreatSQL-Docker
                        
# 2021-09-16 02:20:05  0.00B 定义构建参数
ARG TARGETARCH=amd64
                        
# 2021-09-16 02:20:05  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2021-09-16 02:20:04  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=20210915
                        
# 2021-09-16 02:20:04  231.27MB 
/bin/sh -c #(nop) ADD file:805cb5e15fb6e0bb0326ca33fd2942e068863ce2a8491bb71522c652f31fb466 in / 
                        
                    

镜像信息

{
    "Id": "sha256:5e0eec135d0c6887e8b15fc76917a75a47648b3d5abc497c9bc1b49b91d91180",
    "RepoTags": [
        "greatsql/greatsql_shell:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql_shell:latest"
    ],
    "RepoDigests": [
        "greatsql/greatsql_shell@sha256:1809a3dcfcbe0bd79735e65743632974d2663dbbba1f52e8c81d01685b7779a9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/greatsql/greatsql_shell@sha256:a07aa16481ed7964c966598d57bae44a05e2bee143e2ae302eb0040520eedd4b"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-10-23T07:05:56.402482396Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "DEPS=libssh python38 python38-pyyaml python38-dateutil",
            "GREATSQLSH_DOWNLOAD_URL=https://product.greatdb.com/GreatSQL-8.4.4-4",
            "GREATSQLSH=greatsql-shell-8.4.4-4-glibc2.28-amd64",
            "BASE_DIR=/usr/local"
        ],
        "Cmd": [
            "bash"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "email": "greatsql@greatdb.com",
            "forum": "https://greatsql.cn/forum.php",
            "gitee": "https://gitee.com/GreatSQL/GreatSQL-Docker",
            "maintainer": "greatsql.cn",
            "org.label-schema.build-date": "20210915",
            "org.label-schema.license": "GPLv2",
            "org.label-schema.name": "CentOS Base Image",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.vendor": "CentOS"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 928923122,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/fd0b9ae511c1310b5b6f5f0779a7e4d2e967afef6085e064cf1373d1c8419ffa/diff",
            "MergedDir": "/var/lib/docker/overlay2/bd67fff85e37369661b3b209e7f457399c8aa62e44432f2e7439281784d6b367/merged",
            "UpperDir": "/var/lib/docker/overlay2/bd67fff85e37369661b3b209e7f457399c8aa62e44432f2e7439281784d6b367/diff",
            "WorkDir": "/var/lib/docker/overlay2/bd67fff85e37369661b3b209e7f457399c8aa62e44432f2e7439281784d6b367/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:74ddd0ec08fa43d09f32636ba91a0a3053b02cb4627c35051aff89f853606b59",
            "sha256:a4e87c44b4aa9cca767c9df8179b2b37a598c35b4ee38bca2a1606aeb5ea5dd0"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-12-16T17:45:57.455051486+08:00"
    }
}

更多版本

docker.io/greatsql/greatsql_shell:latest

linux/amd64 docker.io928.92MB2025-12-16 17:46
10