docker.io/library/mysql:8.0.30 linux/amd64

docker.io/library/mysql:8.0.30 - 国内下载镜像源 浏览次数:305 安全受验证的发布者-Docker
MySQL是一个关系数据库管理系统,用于存储和处理大量数据。该容器镜像提供了 MySQL 的官方版本,可以用来部署Web应用程序、数据仓库或其他需要数据库支持的项目。
源镜像 docker.io/library/mysql:8.0.30
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql:8.0.30
镜像ID sha256:dbaea59d1b4194257138a6434ec0820a13097dd7e900135e78daf9759fe2407a
镜像TAG 8.0.30
大小 449.00MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mysqld
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 305 次
贡献者 ha*******e@live.com
镜像创建 2022-10-07T21:07:05.906533096Z
同步时间 2024-10-27 15:42
更新时间 2024-11-21 00:51
开放端口
3306/tcp 33060/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.14 MYSQL_MAJOR=8.0 MYSQL_VERSION=8.0.30-1.el8 MYSQL_SHELL_VERSION=8.0.30-1.el8
镜像安全扫描 查看Trivy扫描报告

系统OS: oracle 8.6 扫描引擎: Trivy 扫描时间: 2024-10-27 15:42

低危漏洞:24 中危漏洞:144 高危漏洞:97 严重漏洞:4

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#library/mysql:8.0.30#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql:8.0.30#' 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.30 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql:8.0.30  docker.io/library/mysql:8.0.30'

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-10-08 05:07:05 /bin/sh -c #(nop) CMD ["mysqld"]
0.00B 2022-10-08 05:07:05 /bin/sh -c #(nop) EXPOSE 3306 33060
0.00B 2022-10-08 05:07:05 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
34.00B 2022-10-08 05:07:05 /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
14.16KB 2022-10-08 05:07:05 /bin/sh -c #(nop) COPY file:5e84598933ec95c9918378d8dde5be8d5f80b0e1fc321a029f840f313201ebce in /usr/local/bin/
0.00B 2022-10-08 05:07:04 /bin/sh -c #(nop) VOLUME [/var/lib/mysql]
174.95MB 2022-10-08 05:07:04 /bin/sh -c set -eux; microdnf install -y "mysql-shell-$MYSQL_SHELL_VERSION"; microdnf clean all; mysqlsh --version
0.00B 2022-10-08 05:06:29 /bin/sh -c #(nop) ENV MYSQL_SHELL_VERSION=8.0.30-1.el8
215.00B 2022-10-08 05:06:29 /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
154.12MB 2022-10-08 05:06:28 /bin/sh -c set -eux; microdnf install -y "mysql-community-server-minimal-$MYSQL_VERSION"; microdnf 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; 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 2022-10-08 05:06:00 /bin/sh -c set -eu; . /etc/os-release; { echo '[mysql8.0-server-minimal]'; echo 'name=MySQL 8.0 Server Minimal'; echo 'enabled=1'; echo "baseurl=https://repo.mysql.com/yum/mysql-8.0-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 2022-10-08 05:06:00 /bin/sh -c #(nop) ENV MYSQL_VERSION=8.0.30-1.el8
0.00B 2022-10-08 05:06:00 /bin/sh -c #(nop) ENV MYSQL_MAJOR=8.0
3.17KB 2022-10-08 05:06:00 /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.57MB 2022-10-08 05:05:58 /bin/sh -c set -eux; microdnf install -y bzip2 gzip openssl xz zstd findutils ; microdnf clean all
2.29MB 2022-10-08 05:05:36 /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 2022-10-08 05:05:33 /bin/sh -c #(nop) ENV GOSU_VERSION=1.14
2.77KB 2022-10-08 05:05:33 /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 2022-10-08 04:31:41 /bin/sh -c #(nop) CMD ["/bin/bash"]
104.05MB 2022-10-08 04:31:40 /bin/sh -c #(nop) ADD file:40e1b0533d9ae91c868834395cbd4b74cf2a47965791be201c03ae764f9da2b0 in /

镜像信息

{
    "Id": "sha256:dbaea59d1b4194257138a6434ec0820a13097dd7e900135e78daf9759fe2407a",
    "RepoTags": [
        "mysql:8.0.30",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql:8.0.30"
    ],
    "RepoDigests": [
        "mysql@sha256:3c1aab708f6e57fc4dccafe36baccc7219acfb4ec450f3fb6d370ea89409e906",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mysql@sha256:f90d1aeb92a5c7b3a4178a3052d8bc27b1f52a811aacb27b619c10b778b9f281"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-10-07T21:07:05.906533096Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "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.14",
            "MYSQL_MAJOR=8.0",
            "MYSQL_VERSION=8.0.30-1.el8",
            "MYSQL_SHELL_VERSION=8.0.30-1.el8"
        ],
        "Cmd": [
            "mysqld"
        ],
        "Image": "sha256:4af53adb07d80a99108d7211bfd48582a2ea10ce7a7f9521fde87bd1e2fa5433",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 449001356,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/50a092b4daf481c79891bde209d5c7e17d7dfbe028d6f93d9c9be5326e598950/diff:/var/lib/docker/overlay2/c2f577904d8d45f3c97a84b077b6ded0a78f46c0247cb60b53f686aadd687691/diff:/var/lib/docker/overlay2/b7725ee01ae4b968366f05a08d9d0391cd1e1ee6b823cd582f54b560dbae8b82/diff:/var/lib/docker/overlay2/6cd0fda3ddd0e0f07006c3c6781fd68adf558f02942f568d982bbb09d9af313e/diff:/var/lib/docker/overlay2/d41a2a358544976ba3ee50730353aefc6afb7d360f6b61a2753947768a9076d4/diff:/var/lib/docker/overlay2/6c1a8274840a4c58344fde6f76f1841451733c17b4098566abd22ae7335c057c/diff:/var/lib/docker/overlay2/63843df347aaf395b37e66104f1e56272a90e85b89c7ac14590795eebdd3c434/diff:/var/lib/docker/overlay2/7840f8670b352818f68fd496262d7b682d9c71f3a9cdcb0313470c25d5f9a426/diff:/var/lib/docker/overlay2/f196d26d5d19598e0eb153bf8efefbb65a9b51961145497eb234efdcb68ae4b7/diff:/var/lib/docker/overlay2/ab316efe11775ccb5487ed18e26f322686f2b94a5a8d51f5fa4110b87be607d0/diff",
            "MergedDir": "/var/lib/docker/overlay2/96dbaa94b5d814abccf0e945a75f153a56198e093369ca6fea14219c9c0ebfa6/merged",
            "UpperDir": "/var/lib/docker/overlay2/96dbaa94b5d814abccf0e945a75f153a56198e093369ca6fea14219c9c0ebfa6/diff",
            "WorkDir": "/var/lib/docker/overlay2/96dbaa94b5d814abccf0e945a75f153a56198e093369ca6fea14219c9c0ebfa6/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:553b196ea5e8358e8b819253dc8fb9af6cf5711df6c83e594b4c2109c61eda18",
            "sha256:7b1b5089c4c81f208f86d802939e0cbe852804f4ee9866097324ff12a889bceb",
            "sha256:3bf157422b00161061442a469355ee740ee52e0276c00530cc71f3b52211c97b",
            "sha256:dc4bc61c37e8a7f608a44e362c76c676192794af9b6bd0fa460beb3a95c13efe",
            "sha256:3db93db6878c54cf556c96f545c66ce77090231d3e2f3e869fdfc99f82090fcb",
            "sha256:91679720f8d1db1dbb7106ce88b2574d095fa3fc8386b007c2b02cef8f3eed24",
            "sha256:7cd76e295a75951cdf9265b8d8d44ecae2ba19834bdbf6dacdfea6bf69a41ff2",
            "sha256:feee68c33bd4774e609f738d86b47db030bc2fb164be4304101f68a0d3893ccc",
            "sha256:43c8ca9cd77195ab5946469775a6813682e2e3afdfb90959aec85bad651a0cee",
            "sha256:b670df5ea093b83a6f87ec63492f2f8ab7a6a133fe3152b46242ef42582a536d",
            "sha256:e24224578084d899a161372c3425f772af72989c49a37e3dc333cfe6a9e6f87d"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-27T15:42:13.119587439+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
169

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