docker.io/mysql:8.0.40-debian linux/amd64

docker.io/mysql:8.0.40-debian - 国内下载镜像源 浏览次数:9 安全受验证的发布者-Mysql
MySQL是一种广泛使用的开源关系型数据库管理系统(RDBMS),由瑞典公司MySQL AB开发,后被Sun Microsystems收购,现在归Oracle公司所有。MySQL以其高性能、高可靠性和易用性著称,支持SQL(Structured Query Language)语言,用于管理和处理结构化的数据集。
源镜像 docker.io/mysql:8.0.40-debian
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.0.40-debian
镜像ID sha256:cf108d111657c25c49e55dd472f3e71e6ffaa5ef8682bd7b4194f6b79dbb5dd6
镜像TAG 8.0.40-debian
大小 609.79MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mysqld
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 9 次
贡献者 30******1@qq.com
镜像创建 2024-10-14T22:15:13Z
同步时间 2024-12-03 15:17
更新时间 2024-12-04 08:03
开放端口
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.40-1debian12
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2024-12-03 15:18

低危漏洞:92 中危漏洞:36 高危漏洞:44 严重漏洞:4

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-10-15 06:15:13 CMD ["mysqld"]
0.00B 2024-10-15 06:15:13 EXPOSE map[3306/tcp:{} 33060/tcp:{}]
0.00B 2024-10-15 06:15:13 ENTRYPOINT ["docker-entrypoint.sh"]
34.00B 2024-10-15 06:15:13 RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat # buildkit
13.83KB 2024-10-15 06:15:13 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
1.12KB 2024-10-15 06:15:13 COPY config/ /etc/mysql/ # buildkit
0.00B 2024-10-15 06:15:13 VOLUME [/var/lib/mysql]
464.11MB 2024-10-15 06:15:13 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-10-15 06:15:13 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-10-15 06:15:13 ENV MYSQL_VERSION=8.0.40-1debian12
0.00B 2024-10-15 06:15:13 ENV MYSQL_MAJOR=8.0
2.29KB 2024-10-15 06:15:13 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.01MB 2024-10-15 06:15:13 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-10-15 06:15:13 RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
4.15MB 2024-10-15 06:15:13 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-10-15 06:15:13 ENV GOSU_VERSION=1.17
9.68MB 2024-10-15 06:15:13 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-10-15 06:15:13 RUN /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql # buildkit
74.82MB 2024-10-15 06:15:13 # debian.sh --arch 'amd64' out/ 'bookworm' '@1733097600'

镜像信息

{
    "Id": "sha256:cf108d111657c25c49e55dd472f3e71e6ffaa5ef8682bd7b4194f6b79dbb5dd6",
    "RepoTags": [
        "mysql:8.0.40-debian",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.0.40-debian"
    ],
    "RepoDigests": [
        "mysql@sha256:9a62a525ab06966c66b4e012372119f384dcf143f9fd22b83e23c23c156c90b9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql@sha256:adbd8b1af269ceef72d95da0764fcbd03ba32fdaf9e749669e0340cb21878792"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-14T22:15:13Z",
    "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.40-1debian12"
        ],
        "Cmd": [
            "mysqld"
        ],
        "Image": "",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 609787720,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b8bc39117c74fe5b27127f916016547423c681dd4b9b8a412dc6070608d6c61c/diff:/var/lib/docker/overlay2/9a3a9f8a1a4f9f1d39570dc2ef18787ffe450070ae6efc0a903fdfdad9735bb4/diff:/var/lib/docker/overlay2/0b03d03e4aa86156e4d9746d590bd5dbda4621d9effb3fc51b8301ad697ecbef/diff:/var/lib/docker/overlay2/82a796ec3a3a7bfceaecabaf62dbd0a98c445203fc9a245d09915fbed9c4e1d9/diff:/var/lib/docker/overlay2/b38cd0caa506a8067639abafe3eaf6164c183e0072ceb706ae5b7f05cc2ea3be/diff:/var/lib/docker/overlay2/9d73edb4d1067b570a0fffbf90b9cf4efca17d51027ffc7105762e60508f289a/diff:/var/lib/docker/overlay2/991a1e6562db2e7f4a54064634061d974d9d06adfe57be60f2bfbb9729160bf0/diff:/var/lib/docker/overlay2/538d982c6b1ed3a88c6cfedf49701b031b65d97b25bc9d3c644a4906772cdbe8/diff:/var/lib/docker/overlay2/a0089da649a3208bafe159ff9dccdea8af5313fc78a3d2ea9ac4b32ccfe5480f/diff:/var/lib/docker/overlay2/56cce71ed64e948b23779a35ac2572bd408c75c31598280cdbb8a25dfdb3d2b1/diff:/var/lib/docker/overlay2/404e59c4c9adc52232d40ea19adf6c8d76b2fc9392dc54e49d9840bbd9ffc580/diff",
            "MergedDir": "/var/lib/docker/overlay2/7611f39da203018ab8b2a203137b9f797a8df1df2d104f8a8cdb9661ee817885/merged",
            "UpperDir": "/var/lib/docker/overlay2/7611f39da203018ab8b2a203137b9f797a8df1df2d104f8a8cdb9661ee817885/diff",
            "WorkDir": "/var/lib/docker/overlay2/7611f39da203018ab8b2a203137b9f797a8df1df2d104f8a8cdb9661ee817885/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:c0f1022b22a9b36851b358f44e5475e39d166e71a8073cf53c894a299239b1c5",
            "sha256:0b10f8e80a59fd20a550780638f06d7826a2a6c591e32b5438488d7531d3a796",
            "sha256:a84f6b29f64dd898005be76a1fd0d2eeb39d090ee7e5801edb358849fed3730c",
            "sha256:d705b44aeeda773dae24b420e269b9789987d7cd76d6f9b7ce8519bb3f121ab9",
            "sha256:f7867040ec913eea5d480c13804a0a5605a4adc8bd84cfdfbee9c788e993ec93",
            "sha256:407685ad1739de303c11c0e0f05d9c8a0ab9670e6210ec0b658288726280c144",
            "sha256:37644ec5d11c77c7894c28263b9c7eb009e19fe2fa573ece735df3973675b900",
            "sha256:21a6dfa3ba367df5c0656510e1df171931706fd7f802d6de9766d986f0d38638",
            "sha256:05446099fb8582c66b575ec8a0e6d78d0cbbac28cd4e473dc37ecfa78992885b",
            "sha256:8eaeb1d12e59c880e893be8ed5ccfca14429c23cae1262d9e086902331c916d9",
            "sha256:530c0b904459e9107ff671e2e42cc40371ecd228c1e12c75b2c17f07f1fdb42f",
            "sha256:f7deb3ab1b8ed57af698bb11436b01cafa48b063036398807bbf9b639139582b"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-03T15:16:50.847302305+08:00"
    }
}

更多版本

docker.io/mysql:5.7.44

linux/amd64 docker.io501.39MB2024-06-11 18:14
2188

docker.io/mysql:8.4.0

linux/amd64 docker.io577.87MB2024-06-11 18:17
750

docker.io/mysql:8.0

linux/amd64 docker.io566.98MB2024-06-11 18:18
3516

docker.io/mysql:8.0-debian

linux/amd64 docker.io610.55MB2024-06-11 18:20
235

docker.io/mysql:5.7

linux/amd64 docker.io501.39MB2024-06-20 10:25
1422

docker.io/mysql:8.0.37

linux/amd64 docker.io567.00MB2024-06-20 17:51
1656

docker.io/mysql:5.7.13

linux/amd64 docker.io380.22MB2024-06-24 10:18
230

docker.io/mysql:8.0.35

linux/amd64 docker.io590.94MB2024-06-24 13:53
513

docker.io/mysql:5.7.33

linux/amd64 docker.io448.73MB2024-06-25 08:40
363

docker.io/mysql:8.0.38

linux/amd64 docker.io572.02MB2024-07-04 16:25
592

docker.io/mysql:9.0.0

linux/amd64 docker.io585.65MB2024-07-05 12:01
548

docker.io/mysql:5.7.40

linux/amd64 docker.io494.69MB2024-07-12 13:24
640

docker.io/mysql:8.4.1

linux/amd64 docker.io583.11MB2024-07-15 16:05
354

docker.io/mysql:8.3

linux/amd64 docker.io632.37MB2024-07-26 16:38
264

docker.io/mysql:8.4.2

linux/amd64 docker.io583.14MB2024-07-30 11:20
1077

docker.io/mysql:8.2.0

linux/amd64 docker.io618.82MB2024-07-30 23:22
243

docker.io/mysql:5.7.18

linux/amd64 docker.io407.03MB2024-08-06 16:04
314

docker.io/mysql:8.0.16

linux/amd64 docker.io443.01MB2024-08-15 14:34
193

docker.io/mysql:8.2

linux/amd64 docker.io618.82MB2024-08-18 12:20
183

docker.io/mysql:8.0.39

linux/amd64 docker.io572.04MB2024-08-20 14:28
666

docker.io/mysql:8.0.39

linux/arm64 docker.io590.02MB2024-08-21 17:22
1186

docker.io/mysql:9.0.1

linux/amd64 docker.io585.61MB2024-08-22 15:10
800

docker.io/mysql:8.0.27

linux/amd64 docker.io515.59MB2024-08-28 09:57
171

docker.io/mysql:8.0.31

linux/amd64 docker.io538.01MB2024-08-30 10:55
334

docker.io/mysql:8.1.0

linux/amd64 docker.io574.01MB2024-09-02 16:20
157

docker.io/mysql:8.0.36

linux/amd64 docker.io602.94MB2024-09-03 16:31
311

docker.io/mysql:5.7.35

linux/amd64 docker.io448.23MB2024-09-10 19:26
178

docker.io/mysql:8.0-oracle

linux/amd64 docker.io572.57MB2024-09-19 09:46
122

docker.io/mysql:8.0.26

linux/amd64 docker.io513.81MB2024-09-29 18:00
121

docker.io/mysql:8.0.32

linux/arm64 docker.io543.81MB2024-10-10 15:02
177

docker.io/mysql:8.0.35

linux/arm64 docker.io610.94MB2024-10-10 15:08
107

docker.io/mysql:5.6.48

linux/amd64 docker.io302.32MB2024-10-20 15:34
180

docker.io/mysql:8.0.28

linux/amd64 docker.io520.74MB2024-10-21 14:52
124

docker.io/mysql:5.7.32

linux/amd64 docker.io448.50MB2024-10-22 10:55
108

docker.io/mysql:8.0.32

linux/amd64 docker.io530.50MB2024-10-23 10:01
95

docker.io/mysql:8.4.3

linux/amd64 docker.io592.52MB2024-10-25 09:40
345

docker.io/mysql:5.7.31

linux/amd64 docker.io448.49MB2024-10-29 17:18
88

docker.io/mysql:8.0.3

linux/amd64 docker.io342.58MB2024-10-29 17:39
73

docker.io/mysql:5.7.26

linux/amd64 docker.io372.91MB2024-10-30 09:47
156

docker.io/mysql:5.7.42

linux/amd64 docker.io581.08MB2024-10-30 15:04
178

docker.io/mysql:5.7.37

linux/amd64 docker.io449.62MB2024-10-30 16:45
193

docker.io/mysql:8.0.33

linux/arm64 docker.io587.07MB2024-11-01 18:19
69

docker.io/mysql/mysql-server:8.0.32

linux/amd64 docker.io495.92MB2024-11-03 22:52
146

docker.io/mysql:8.0.37-oraclelinux9

linux/amd64 docker.io567.00MB2024-11-08 21:00
54

docker.io/mysql:8.0.33-debian

linux/amd64 docker.io602.07MB2024-11-14 14:29
33

docker.io/mysql:8.0.30

linux/amd64 docker.io449.00MB2024-11-15 19:09
42

docker.io/mysql:8.0.40-debian

linux/amd64 docker.io609.79MB2024-12-03 15:17
8