docker.io/library/mysql:8.0.37-debian linux/amd64

docker.io/library/mysql:8.0.37-debian - 国内下载镜像源 浏览次数:169 安全受验证的发布者-Docker
MySQL是一个关系数据库管理系统,用于存储和处理大量数据。该容器镜像提供了 MySQL 的官方版本,可以用来部署Web应用程序、数据仓库或其他需要数据库支持的项目。
源镜像 docker.io/library/mysql:8.0.37-debian
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql:8.0.37-debian
镜像ID sha256:4fa43e731b20b482d1b844248f22a4bec0b2783176715d890cd18a114a3444b7
镜像TAG 8.0.37-debian
大小 610.56MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mysqld
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 169 次
贡献者
镜像创建 2024-06-18T16:01:15Z
同步时间 2024-07-02 16:35
更新时间 2024-11-21 13:47
开放端口
3306/tcp 33060/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.17 MYSQL_MAJOR=8.0 MYSQL_VERSION=8.0.37-1debian12

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql:8.0.37-debian
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql:8.0.37-debian  docker.io/library/mysql:8.0.37-debian

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql:8.0.37-debian
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql:8.0.37-debian  docker.io/library/mysql:8.0.37-debian

Shell快速替换命令

sed -i 's#library/mysql:8.0.37-debian#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql:8.0.37-debian#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-06-19 00:01:15 CMD ["mysqld"]
0.00B 2024-06-19 00:01:15 EXPOSE map[3306/tcp:{} 33060/tcp:{}]
0.00B 2024-06-19 00:01:15 ENTRYPOINT ["docker-entrypoint.sh"]
34.00B 2024-06-19 00:01:15 RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat # buildkit
13.83KB 2024-06-19 00:01:15 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
1.12KB 2024-06-19 00:01:15 COPY config/ /etc/mysql/ # buildkit
0.00B 2024-06-19 00:01:15 VOLUME [/var/lib/mysql]
464.87MB 2024-06-19 00:01:15 RUN /bin/sh -c { echo mysql-community-server mysql-community-server/data-dir select ''; echo mysql-community-server mysql-community-server/root-pass password ''; echo mysql-community-server mysql-community-server/re-root-pass password ''; echo mysql-community-server mysql-community-server/remove-test-db select false; } | debconf-set-selections && apt-get update && apt-get install -y mysql-community-client="${MYSQL_VERSION}" mysql-community-server-core="${MYSQL_VERSION}" && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld && chown -R mysql:mysql /var/lib/mysql /var/run/mysqld && chmod 1777 /var/run/mysqld /var/lib/mysql # buildkit
99.00B 2024-06-19 00:01:15 RUN /bin/sh -c echo 'deb [ signed-by=/etc/apt/keyrings/mysql.gpg ] http://repo.mysql.com/apt/debian/ bookworm mysql-8.0' > /etc/apt/sources.list.d/mysql.list # buildkit
0.00B 2024-06-19 00:01:15 ENV MYSQL_VERSION=8.0.37-1debian12
0.00B 2024-06-19 00:01:15 ENV MYSQL_MAJOR=8.0
2.29KB 2024-06-19 00:01:15 RUN /bin/sh -c set -eux; key='BCA4 3417 C3B4 85DD 128E C6D4 B7B3 B788 A8D3 785C'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; mkdir -p /etc/apt/keyrings; gpg --batch --export "$key" > /etc/apt/keyrings/mysql.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME" # buildkit
57.00MB 2024-06-19 00:01:15 RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 openssl perl xz-utils zstd ; rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-06-19 00:01:15 RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
4.16MB 2024-06-19 00:01:15 RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
0.00B 2024-06-19 00:01:15 ENV GOSU_VERSION=1.17
9.68MB 2024-06-19 00:01:15 RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends gnupg && rm -rf /var/lib/apt/lists/* # buildkit
4.30KB 2024-06-19 00:01:15 RUN /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql # buildkit
0.00B 2024-06-13 09:20:56 /bin/sh -c #(nop) CMD ["bash"]
74.83MB 2024-06-13 09:20:56 /bin/sh -c #(nop) ADD file:5f9954090af042b377ea0d1d184faa64d2e9d4c946b6c3898d52aff47e764056 in /

镜像信息

{
    "Id": "sha256:4fa43e731b20b482d1b844248f22a4bec0b2783176715d890cd18a114a3444b7",
    "RepoTags": [
        "mysql:8.0.37-debian",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql:8.0.37-debian"
    ],
    "RepoDigests": [
        "mysql@sha256:bad55a5bb69d6710927792384b5eb55669ee15dc85dca1888874e4a7993eecd8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql@sha256:c8a519b74c0db3a01e06691874c68a55eb159b7b840bf38a7d02741ece706b4d"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-06-18T16:01:15Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "3306/tcp": {},
            "33060/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GOSU_VERSION=1.17",
            "MYSQL_MAJOR=8.0",
            "MYSQL_VERSION=8.0.37-1debian12"
        ],
        "Cmd": [
            "mysqld"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 610558195,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/db887a46777bb80fe321ab91c9dccacb5aa053515c87241ca5574cffebec60d6/diff:/var/lib/docker/overlay2/a9a5ef206a82a47ad1c7205cd39c810801b9503f84c7c04343016e334fc7b73b/diff:/var/lib/docker/overlay2/25675053f89bd37aee0acd47cbde3300b8ec7949178ef30be639f99756c6c1a3/diff:/var/lib/docker/overlay2/7776840019dc1074eb9e63d70a5183945d88fb12896f7d380e5c56bb332dea0a/diff:/var/lib/docker/overlay2/399dc29ae02b2bc60c2ef3c95616e62f25b69aad17349d675818b8b49f6fa1ee/diff:/var/lib/docker/overlay2/7ba55a97ca783d4f76e64a8db8896c408e7cfa0ea21405bdb9b082e2e8b6ae70/diff:/var/lib/docker/overlay2/e55cdb393e829e8953ee225588a784ea93954c6578e0514b6169ad544713409d/diff:/var/lib/docker/overlay2/2bcbfe885e615cd802af3b56affcfdcb7f57232dce5763ae35ffc225bdbc096b/diff:/var/lib/docker/overlay2/872bd988f28c200866da48bd799a8d52bc4ba665c3430d887bd0680f8ff08e22/diff:/var/lib/docker/overlay2/ee51a6ff8d7fcb2b54ab189840a1250323285b4158f2d26c8a4954b094ff83da/diff:/var/lib/docker/overlay2/dc095d948269d9ec0122df8444b9bd5958c38c8b6d1d4f728177923227a5115b/diff",
            "MergedDir": "/var/lib/docker/overlay2/1ecc4613ceee2524b57267255794234447856f412e1c39a0f3c988a238e47125/merged",
            "UpperDir": "/var/lib/docker/overlay2/1ecc4613ceee2524b57267255794234447856f412e1c39a0f3c988a238e47125/diff",
            "WorkDir": "/var/lib/docker/overlay2/1ecc4613ceee2524b57267255794234447856f412e1c39a0f3c988a238e47125/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1387079e86adf524e7e92bada71d261d9ff58f34409751ab36560385262a8386",
            "sha256:0af8dcde832c8d2f34fcef61c792bfcf0cff2d5e99ecd9abab1ad9f7b69498e5",
            "sha256:c2b707c3fffd5dc6ce25083cac7e71711211a2850dd7290551661b48706e463b",
            "sha256:208c29f6cce947798f3a1d925d0ca9a6d229a45bf765d14e713a21eeffa40c86",
            "sha256:cc0607efa41c0fc7121bc0f4073f3c4f3c4f84e5609b03d38745b7745edaa97e",
            "sha256:46f3c5604c14eb590407f013e8f2977c63102450358eea5ccba8f02854e9b387",
            "sha256:9dee4c0ec2d0b1435c003b2ec77224fcf8d373f0da0a7781a1afeb1c82d2ac1e",
            "sha256:86ca3ef945ef8ac3922d27b74b573f955ec7cec24fc35bca884010be62c8dcd4",
            "sha256:cc6c5e427d95d28988f58e2ca964e8d8e73e7a421f47efcfc01c6687c231ebd4",
            "sha256:8ea07e86611ef79fd56736c72c7191e7f4d235f07ad46c8f363eff5fe194ba57",
            "sha256:36ac8c8d6d919ed21ec4db5143cf7990f2e774d44294a951c98f1a301a7430e3",
            "sha256:fa3fc70b0c35e53d89bf2ebeec213834e12ac684399d627c439c82c16f468600"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-02T16:34:25.288408841+08:00"
    }
}

更多版本

docker.io/library/mysql:8.0.34

linux/amd64 docker.io573.38MB2024-06-26 15:03
328

docker.io/library/mysql:8.0.37-debian

linux/amd64 docker.io610.56MB2024-07-02 16:35
168

docker.io/library/mysql:8.0.31

linux/amd64 docker.io538.01MB2024-10-27 15:35
64

docker.io/library/mysql:8.0.30

linux/amd64 docker.io449.00MB2024-10-27 15:42
304