docker.io/mysql:5.7.42 linux/amd64

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

系统OS: oracle 7.9 扫描引擎: Trivy 扫描时间: 2024-10-30 15:04

低危漏洞:9 中危漏洞:39 高危漏洞:51 严重漏洞:3

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2023-07-25 09:40:08 /bin/sh -c #(nop) CMD ["mysqld"]
0.00B 2023-07-25 09:40:08 /bin/sh -c #(nop) EXPOSE 3306 33060
0.00B 2023-07-25 09:40:08 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
34.00B 2023-07-25 09:40:08 /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
14.19KB 2023-07-25 09:40:07 /bin/sh -c #(nop) COPY file:e9c22353a1133b89c5bca24ecacd348acd094e50e5e5c45375a997c6b1f07192 in /usr/local/bin/
0.00B 2023-07-25 09:40:07 /bin/sh -c #(nop) VOLUME [/var/lib/mysql]
347.48MB 2023-07-25 09:40:06 /bin/sh -c set -eux; yum install -y --setopt=skip_missing_names_on_install=False "mysql-shell-$MYSQL_SHELL_VERSION"; yum clean all; mysqlsh --version
0.00B 2023-07-25 09:39:21 /bin/sh -c #(nop) ENV MYSQL_SHELL_VERSION=8.0.34-1.el7
215.00B 2023-06-14 17:54:31 /bin/sh -c set -eu; . /etc/os-release; { echo '[mysql-tools-community]'; echo 'name=MySQL Tools Community'; echo "baseurl=https://repo.mysql.com/yum/mysql-tools-community/el/${VERSION_ID%%[.-]*}/\$basearch/"; echo 'enabled=1'; echo 'gpgcheck=1'; echo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql'; echo 'module_hotfixes=true'; } | tee /etc/yum.repos.d/mysql-community-tools.repo
79.30MB 2023-06-14 17:54:31 /bin/sh -c set -eux; yum install -y --setopt=skip_missing_names_on_install=False "mysql-community-server-minimal-$MYSQL_VERSION"; yum clean all; grep -F 'socket=/var/lib/mysql/mysql.sock' /etc/my.cnf; sed -i 's!^socket=.*!socket=/var/run/mysqld/mysqld.sock!' /etc/my.cnf; grep -F 'socket=/var/run/mysqld/mysqld.sock' /etc/my.cnf; { echo '[client]'; echo 'socket=/var/run/mysqld/mysqld.sock'; } >> /etc/my.cnf; ! grep -F '!includedir' /etc/my.cnf; { echo; echo '!includedir /etc/mysql/conf.d/'; } >> /etc/my.cnf; mkdir -p /etc/mysql/conf.d; { echo '!includedir /etc/mysql/mysql.conf.d/'; } >> /etc/my.cnf; mkdir -p /etc/mysql/mysql.conf.d; find /etc/my.cnf /etc/mysql/ -name '*.cnf' -print0 | xargs -0 grep -lZE '^(bind-address|log)' | xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/'; mkdir -p /var/lib/mysql /var/run/mysqld; chown mysql:mysql /var/lib/mysql /var/run/mysqld; chmod 1777 /var/lib/mysql /var/run/mysqld; mkdir /docker-entrypoint-initdb.d; mysqld --version; mysql --version
225.00B 2023-06-14 17:54:13 /bin/sh -c set -eu; . /etc/os-release; { echo '[mysql5.7-server-minimal]'; echo 'name=MySQL 5.7 Server Minimal'; echo 'enabled=1'; echo "baseurl=https://repo.mysql.com/yum/mysql-5.7-community/docker/el/${VERSION_ID%%[.-]*}/\$basearch/"; echo 'gpgcheck=1'; echo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql'; echo 'module_hotfixes=true'; } | tee /etc/yum.repos.d/mysql-community-minimal.repo
0.00B 2023-06-14 17:54:12 /bin/sh -c #(nop) ENV MYSQL_VERSION=5.7.42-1.el7
0.00B 2023-06-14 17:54:12 /bin/sh -c #(nop) ENV MYSQL_MAJOR=5.7
3.21KB 2023-06-14 17:54:12 /bin/sh -c set -eux; key='859BE8D7C586F538430B19C2467B942D3A79BD29'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; gpg --batch --export --armor "$key" > /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql; rm -rf "$GNUPGHOME"
13.73MB 2023-06-14 17:54:11 /bin/sh -c set -eux; yum install -y --setopt=skip_missing_names_on_install=False oracle-epel-release-el7; yum install -y --setopt=skip_missing_names_on_install=False bzip2 gzip openssl xz zstd ; yum clean all
2.38MB 2023-06-14 17:53:53 /bin/sh -c set -eux; arch="$(uname -m)"; case "$arch" in aarch64) gosuArch='arm64' ;; x86_64) gosuArch='amd64' ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; curl -fL -o /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$gosuArch.asc"; curl -fL -o /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$gosuArch"; 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; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true
0.00B 2023-06-14 17:53:50 /bin/sh -c #(nop) ENV GOSU_VERSION=1.16
2.72KB 2023-06-14 17:53:50 /bin/sh -c set -eux; groupadd --system --gid 999 mysql; useradd --system --uid 999 --gid 999 --home-dir /var/lib/mysql --no-create-home mysql
0.00B 2023-06-14 15:21:40 /bin/sh -c #(nop) CMD ["/bin/bash"]
138.17MB 2023-06-14 15:21:40 /bin/sh -c #(nop) ADD file:733a37449d62d6e9f530185b9244e06cd8ff0ee896632576ae644437d0a1f852 in /

镜像信息

{
    "Id": "sha256:d7b085374dbc1ca6ee83a18b488b9da0425749c87051e8bd8287dc2a2c775ecb",
    "RepoTags": [
        "mysql:5.7.42",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:5.7.42"
    ],
    "RepoDigests": [
        "mysql@sha256:2eabad08824e3120dbec9096c276e3956e1922636c06fbb383ae9ea9c499bf43",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql@sha256:8e044d43c8d38550dc1c935a0797f76adfa55024dd075f30161602395f99f0ca"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-07-25T01:40:08.386158483Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.23",
    "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.16",
            "MYSQL_MAJOR=5.7",
            "MYSQL_VERSION=5.7.42-1.el7",
            "MYSQL_SHELL_VERSION=8.0.34-1.el7"
        ],
        "Cmd": [
            "mysqld"
        ],
        "Image": "sha256:c9f76d5988c58323a46ad6aeeb065a9f90d120b1d690dba0fef90d4847052769",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 581079317,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/1ef3489f84c0995eb349aae1cc2333ddee0f5d49a2c866657add44a38a8ff0f3/diff:/var/lib/docker/overlay2/53ed3eb6831b982cb65a707c57d295f4a977754cdf8545e031c37c5bbca82af6/diff:/var/lib/docker/overlay2/a1f36880b6a9bfa16c4e45f9c47d28f9f977ce5fbd846ffe8c52e0e6e93eec5c/diff:/var/lib/docker/overlay2/344e45e4df6763bdeaecf1ea9f8dd6050ada87ea9df44ac90dd550d8bb61847d/diff:/var/lib/docker/overlay2/7d3f66acac315d9e8a4c8d7af867680ad0c59af6165ca2cfc07f085632326286/diff:/var/lib/docker/overlay2/4e169c8657d3d9e763e64bf16d80a0a35a08883acb2e298f343685af378c50d8/diff:/var/lib/docker/overlay2/d430521c004a304ce056b6359b3ac10fb67cac9793d262b87594d0009070de98/diff:/var/lib/docker/overlay2/fd09c577d5594ed073f014fc613e5c0448cb75ad300227cb16800f25bae21425/diff:/var/lib/docker/overlay2/2918fa9e96414a84695ff2d8dc6f892097d75fcb0745ffbd889a243a4b778eab/diff:/var/lib/docker/overlay2/6c8555402a3653874c8c1eb11a8baf873e13ce2d285e90eb76b49ff8dfa65bca/diff",
            "MergedDir": "/var/lib/docker/overlay2/ad321821677bb129605fbf73cf5d936ce10fafc09527308818e6db8b1870b177/merged",
            "UpperDir": "/var/lib/docker/overlay2/ad321821677bb129605fbf73cf5d936ce10fafc09527308818e6db8b1870b177/diff",
            "WorkDir": "/var/lib/docker/overlay2/ad321821677bb129605fbf73cf5d936ce10fafc09527308818e6db8b1870b177/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:616461b0543d6905f05f2b384bc403d268886c8845a6de09629a2b022388c830",
            "sha256:059140abf41fef02cd83d939335f594901689f7645e28a4d71fcfc5e92c85acc",
            "sha256:910d8e0bdf9b5060efeac8fc2e08be16bb1747ef116996b1db42e0874d9b0203",
            "sha256:8cd76fcba8b55f1b638aa940ee94882a9584e430a5df06b050e035760537a0a0",
            "sha256:da7cb9362f6b6067bcd2c13b0980348246219742fb8ba035559ad82bb73dd148",
            "sha256:d80a943d485c6428013bc74016a5ec184e6a5e648808c1262113991838f2ee02",
            "sha256:37f7e223758fd77152547e978485c5ae5c52a0fb9bfae00be15e1c5193a0760f",
            "sha256:df92916aa488a75c2d1c58d6f14ae679bd2c1a412673babb04f2fa631b1fcb11",
            "sha256:d7ef37b341e31e78a5f424c1b52aa61a5c84b35c45320d7a2e8d53aa4f393997",
            "sha256:27ad3cf5de590f8e67327b7d3bbaf22ae66b5ff316b4408e94e72e6e383a5bdb",
            "sha256:b930622fb5835781626764f5cb092a0cc4d3a94823f876bcc4c686a04cc45d26"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-30T15:04:26.280274157+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
1572

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
108

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
278

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
135

docker.io/mysql:5.7.42

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

docker.io/mysql:5.7.37

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

docker.io/mysql:8.0.33

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

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
25

docker.io/mysql:8.0.30

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