docker.io/mysql:5.7.31 linux/amd64

docker.io/mysql:5.7.31 - 国内下载镜像源 浏览次数:72 安全受验证的发布者-Mysql
MySQL是一种广泛使用的开源关系型数据库管理系统(RDBMS),由瑞典公司MySQL AB开发,后被Sun Microsystems收购,现在归Oracle公司所有。MySQL以其高性能、高可靠性和易用性著称,支持SQL(Structured Query Language)语言,用于管理和处理结构化的数据集。
源镜像 docker.io/mysql:5.7.31
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:5.7.31
镜像ID sha256:42cdba9f1b0840cd63254898edeaf6def81a503a6a53d57301c3b38e69cd8f15
镜像TAG 5.7.31
大小 448.49MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mysqld
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 72 次
贡献者 65**6@163.com
镜像创建 2020-10-13T08:03:45.30756551Z
同步时间 2024-10-29 17:18
更新时间 2024-11-20 07:24
开放端口
3306/tcp 33060/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.12 MYSQL_MAJOR=5.7 MYSQL_VERSION=5.7.31-1debian10
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 10.6 扫描引擎: Trivy 扫描时间: 2024-10-29 17:18

低危漏洞:136 中危漏洞:151 高危漏洞:183 严重漏洞:31

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2020-10-13 16:03:45 /bin/sh -c #(nop) CMD ["mysqld"]
0.00B 2020-10-13 16:03:45 /bin/sh -c #(nop) EXPOSE 3306 33060
0.00B 2020-10-13 16:03:44 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
34.00B 2020-10-13 16:03:44 /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
13.18KB 2020-10-13 16:03:43 /bin/sh -c #(nop) COPY file:7cbb26bbdb8e71b36aafda38dbac08caa641714a19991b86cde77daf3286ec11 in /usr/local/bin/
0.00B 2020-10-13 16:03:42 /bin/sh -c #(nop) VOLUME [/var/lib/mysql]
313.17MB 2020-10-13 16:03:42 /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-server="${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 && find /etc/mysql/ -name '*.cnf' -print0 | xargs -0 grep -lZE '^(bind-address|log)' | xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' && echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf
55.00B 2020-10-13 16:03:08 /bin/sh -c echo "deb http://repo.mysql.com/apt/debian/ buster mysql-${MYSQL_MAJOR}" > /etc/apt/sources.list.d/mysql.list
0.00B 2020-10-13 16:03:07 /bin/sh -c #(nop) ENV MYSQL_VERSION=5.7.31-1debian10
0.00B 2020-10-13 16:03:07 /bin/sh -c #(nop) ENV MYSQL_MAJOR=5.7
2.61KB 2020-10-13 16:02:28 /bin/sh -c set -ex; key='A4A9406876FCBD3C456770C88C718D3B5072E1F5'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/mysql.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-key list > /dev/null
52.24MB 2020-10-13 16:02:26 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends pwgen openssl perl xz-utils && rm -rf /var/lib/apt/lists/*
0.00B 2020-10-13 16:02:14 /bin/sh -c mkdir /docker-entrypoint-initdb.d
4.17MB 2020-10-13 16:02:13 /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
0.00B 2020-10-13 16:01:59 /bin/sh -c #(nop) ENV GOSU_VERSION=1.12
9.34MB 2020-10-13 16:01:59 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends gnupg dirmngr && rm -rf /var/lib/apt/lists/*
328.57KB 2020-10-13 16:01:49 /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql
0.00B 2020-10-13 09:39:05 /bin/sh -c #(nop) CMD ["bash"]
69.22MB 2020-10-13 09:39:05 /bin/sh -c #(nop) ADD file:0dc53e7886c35bc21ae6c4f6cedda54d56ae9c9e9cd367678f1a72e68b3c43d4 in /

镜像信息

{
    "Id": "sha256:42cdba9f1b0840cd63254898edeaf6def81a503a6a53d57301c3b38e69cd8f15",
    "RepoTags": [
        "mysql:5.7.31",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:5.7.31"
    ],
    "RepoDigests": [
        "mysql@sha256:b3dc8d10307ab7b9ca1a7981b1601a67e176408be618fc4216d137be37dae10b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql@sha256:3830eda172a0285aa9899c422f26d739cde0ad5445962fbb9a2a8b0df00a1a64"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2020-10-13T08:03:45.30756551Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "18.09.7",
    "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.12",
            "MYSQL_MAJOR=5.7",
            "MYSQL_VERSION=5.7.31-1debian10"
        ],
        "Cmd": [
            "mysqld"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:28d6626b2e655613d599d9dd33418c24e529026a9c5f88a90e371937f0652a82",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 448489007,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/65e6bfbde98cf18cac9b6f90ad741164e08969717e4e1a1a2bef8450d930ed52/diff:/var/lib/docker/overlay2/b8dab4600ca8903f74b7fb4908c19e030d6d67fb09c04f775f8af267bed317c4/diff:/var/lib/docker/overlay2/faa70b025b3969854745ad33dff4fec5e6478216ff585a4c7f8ec99ea0a09719/diff:/var/lib/docker/overlay2/8f91d0edb3612a462161b91a028f602a6bc0800bd5ba619f48e8a0ecdc337b89/diff:/var/lib/docker/overlay2/e3ef0624805a2fb68230f0b97bf85a1e07923757c77cc72b0bfce0cb162bfb4a/diff:/var/lib/docker/overlay2/5606ccdc574098d81b01d82f151b392c842a1b2b8a61adbeed2078bd744f67e1/diff:/var/lib/docker/overlay2/7d3565bbdb5feb15dd55bd82133a848a2d270b9d752e699a31c2a73a01bdb85c/diff:/var/lib/docker/overlay2/ecd3e8e3bbac222413d277317c6a825dd45b380ae8a935b34deef011c8e66f60/diff:/var/lib/docker/overlay2/b2d9638825534b924514147b0d5b8a552006e42204be960ca0fe4c247db2fea8/diff:/var/lib/docker/overlay2/2eff8bb20b12e1ab37bd00d39db937579040ced50765ab9a2395578c32eaa243/diff",
            "MergedDir": "/var/lib/docker/overlay2/506da9b26c1ea5237a9f79c8040e7a66ad7f661d6e7c98bf666af53e8dc5673b/merged",
            "UpperDir": "/var/lib/docker/overlay2/506da9b26c1ea5237a9f79c8040e7a66ad7f661d6e7c98bf666af53e8dc5673b/diff",
            "WorkDir": "/var/lib/docker/overlay2/506da9b26c1ea5237a9f79c8040e7a66ad7f661d6e7c98bf666af53e8dc5673b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d0fe97fa8b8cefdffcef1d62b65aba51a6c87b6679628a2b50fc6a7a579f764c",
            "sha256:329fe06a30f03f9131ce8d9db2e8a9f725b18efe3457d6f015e1c4d8a3f41a0a",
            "sha256:ec8c80284c72bcf47ffedc0dde4d5792de761d52f974c30d37d52b9ac00e8a2a",
            "sha256:9dae2565e824235798981525d6ff9114817b7139c073e0d216b00ae9e58f74d0",
            "sha256:36b89ee4c647b9c21de8b5476b4922efc873aba69705c169e1a3edcf9128679b",
            "sha256:c21e35e55228365b268f57fac382a6e991db216cb03d9b7079496f5498956ab0",
            "sha256:15b463db445cb750fa6bc908a41fd18e38c4d2a02a978b66beb598c4f3f57b95",
            "sha256:30f9c7764a3fa68d2a614f924a51c46c8f3ca6f006003f1adda9f47f9e403185",
            "sha256:2e19acd09cf65307d887f128bb9926f8509bd7d8801c0ea1a7cbab7edfac210c",
            "sha256:78a9edf56b5feb68e232682c8371386251498c6d5b19224cb2e7aeb32fbff530",
            "sha256:bdda49371b835a0136c08bd51a761f6fab1be33d9433f66ec1f2c0d89a3d2428"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-29T17:17:42.386150084+08:00"
    }
}

更多版本

docker.io/mysql:5.7.44

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

docker.io/mysql:8.4.0

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

docker.io/mysql:8.0

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

docker.io/mysql:8.0-debian

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

docker.io/mysql:5.7

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

docker.io/mysql:8.0.37

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

docker.io/mysql:5.7.13

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

docker.io/mysql:8.0.35

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

docker.io/mysql:5.7.33

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

docker.io/mysql:8.0.38

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

docker.io/mysql:9.0.0

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

docker.io/mysql:5.7.40

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

docker.io/mysql:8.4.1

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

docker.io/mysql:8.3

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

docker.io/mysql:8.4.2

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

docker.io/mysql:8.2.0

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

docker.io/mysql:5.7.18

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

docker.io/mysql:8.0.16

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

docker.io/mysql:8.2

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

docker.io/mysql:8.0.39

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

docker.io/mysql:8.0.39

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

docker.io/mysql:9.0.1

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

docker.io/mysql:8.0.27

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

docker.io/mysql:8.0.31

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

docker.io/mysql:8.1.0

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

docker.io/mysql:8.0.36

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

docker.io/mysql:5.7.35

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

docker.io/mysql:8.0-oracle

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

docker.io/mysql:8.0.26

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

docker.io/mysql:8.0.32

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

docker.io/mysql:8.0.35

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

docker.io/mysql:5.6.48

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

docker.io/mysql:8.0.28

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

docker.io/mysql:5.7.32

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

docker.io/mysql:8.0.32

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

docker.io/mysql:8.4.3

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

docker.io/mysql:5.7.31

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

docker.io/mysql:8.0.3

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

docker.io/mysql:5.7.26

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

docker.io/mysql:5.7.42

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

docker.io/mysql:5.7.37

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

docker.io/mysql:8.0.33

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

docker.io/mysql/mysql-server:8.0.32

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

docker.io/mysql:8.0.37-oraclelinux9

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

docker.io/mysql:8.0.33-debian

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

docker.io/mysql:8.0.30

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