docker.io/mysql:8.1.0 linux/amd64

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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2023-07-28 06:18:51 CMD ["mysqld"]
0.00B 2023-07-28 06:18:51 EXPOSE map[3306/tcp:{} 33060/tcp:{}]
0.00B 2023-07-28 06:18:51 ENTRYPOINT ["docker-entrypoint.sh"]
14.19KB 2023-07-28 06:18:51 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
0.00B 2023-07-28 06:18:51 VOLUME [/var/lib/mysql]
265.45MB 2023-07-28 06:18:51 RUN /bin/sh -c set -eux; microdnf install -y "mysql-shell-$MYSQL_SHELL_VERSION"; microdnf clean all; mysqlsh --version # buildkit
0.00B 2023-07-28 06:18:51 ENV MYSQL_SHELL_VERSION=8.0.34-1.el8
215.00B 2023-07-28 06:18:51 RUN /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 # buildkit
185.83MB 2023-07-28 06:18:51 RUN /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 # buildkit
246.00B 2023-07-28 06:18:51 RUN /bin/sh -c set -eu; . /etc/os-release; { echo '[mysqlinnovation-server-minimal]'; echo 'name=MySQL innovation Server Minimal'; echo 'enabled=1'; echo "baseurl=https://repo.mysql.com/yum/mysql-innovation-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 # buildkit
0.00B 2023-07-28 06:18:51 ENV MYSQL_VERSION=8.1.0-1.el8
0.00B 2023-07-28 06:18:51 ENV MYSQL_MAJOR=innovation
3.17KB 2023-07-28 06:18:51 RUN /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" # buildkit
13.50MB 2023-07-28 06:18:51 RUN /bin/sh -c set -eux; microdnf install -y bzip2 gzip openssl xz zstd findutils ; microdnf clean all # buildkit
2.36MB 2023-07-28 06:18:51 RUN /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 # buildkit
0.00B 2023-07-28 06:18:51 ENV GOSU_VERSION=1.16
2.77KB 2023-07-28 06:18:51 RUN /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 # buildkit
0.00B 2023-07-28 06:18:51 /bin/sh -c #(nop) CMD ["/bin/bash"]
106.84MB 2023-07-28 06:18:51 /bin/sh -c #(nop) ADD file:0f45bdf93b14a2ab9389b71d23b6c7f6d2935c8016e3b6422814f8fc79bef986 in /

镜像信息

{
    "Id": "sha256:ae2502152260b33bfafb9c3e3a1811086317e0236abf83a59503cec0f8980573",
    "RepoTags": [
        "mysql:8.1.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.1.0"
    ],
    "RepoDigests": [
        "mysql@sha256:f61944ff3f2961363a4d22913b2ac581523273679d7e14dd26e8db8c9f571a7e",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql@sha256:1d6b9fc380b06e3709e9b06d158945bcb7a8336658cefc1d840834d81af56b6f"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-07-27T22:18:51Z",
    "Container": "",
    "ContainerConfig": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": null,
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": 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.16",
            "MYSQL_MAJOR=innovation",
            "MYSQL_VERSION=8.1.0-1.el8",
            "MYSQL_SHELL_VERSION=8.0.34-1.el8"
        ],
        "Cmd": [
            "mysqld"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 574005001,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2872ed9f8efd18deb030ac8b4f42b2b5c7a72cc163fca8423bd3ab5e23476137/diff:/var/lib/docker/overlay2/eb6f7af10ebac510a1dd980ba6dae2a8fdae69f7d1711fdc316752cb22eb0ebb/diff:/var/lib/docker/overlay2/9de70fb2c8b71001b4a5db026334aa878c36d70b869d3e6673759fe00441b5d3/diff:/var/lib/docker/overlay2/b9a356c1769e84574f1120e001f428915b0de84274707d61bebf828e8a4c3dde/diff:/var/lib/docker/overlay2/163e303287de528b623a313cfd865c77fb590da3e80109f3d9bb1450bbb1fdb7/diff:/var/lib/docker/overlay2/ad7230a31f9c8e7dc43f255eef15a27cdd914723f4d246c9e517735dce8acc44/diff:/var/lib/docker/overlay2/435b077cb7b0623e9d6013acd75be9693e9ef7dc2d1a5efaf07bdf3343b17696/diff:/var/lib/docker/overlay2/539b03a8f4c3181771cff3c768e6095e390a3e2659fa82829d4857b93eb625c6/diff:/var/lib/docker/overlay2/980ecb8ebcbf880ea46c655006a1d3a3ed931533fe7b0301dbf01917b1c6ca41/diff",
            "MergedDir": "/var/lib/docker/overlay2/3745b70cd788859c24a619dd74e09143150df9027a526a8b5864850e74661d48/merged",
            "UpperDir": "/var/lib/docker/overlay2/3745b70cd788859c24a619dd74e09143150df9027a526a8b5864850e74661d48/diff",
            "WorkDir": "/var/lib/docker/overlay2/3745b70cd788859c24a619dd74e09143150df9027a526a8b5864850e74661d48/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d6fe63e8be63d078aeef9739f2c7ea101e6cc1a3f998d179af63a10e7f0f959d",
            "sha256:c72f3f81b567fdd7b95cfd31bf307c987456794078ef71d40e6118651aef5d14",
            "sha256:65fbb26b2addd2de9838b4c8d591f3fdd57bc7164c481ecd9456da9c0763b4f2",
            "sha256:75f4b9038bd6e88a327c1d096b1bca95afc013b95b025fd39dbc8f24dc94f949",
            "sha256:bfaf0b67d6ce2f96fef6f7a688e4532a3315c541b84f3c591923d3cdec40887e",
            "sha256:2e06436073e8594b4023c21e5b0f0b76fbbc92b7e9bb4e98c5ef441e9e66629b",
            "sha256:2eb38469d663239c4b14de8bd835905076bcc440215630746ed4f6443f90de50",
            "sha256:a4c6bd236e101758eb436792d67e8b132a9be20ac10f2afede226a595cadaa23",
            "sha256:31058a3ed9088b537fec51223f43e5ce90e8f549773791923902bbeab472d860",
            "sha256:e0bb8d70ab73c045343f85e0c0765327ea0fb6c6e0329ceab309db08e3fdd51d"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-02T08:20:02.825925688Z"
    }
}

更多版本

docker.io/mysql:5.7.44

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

docker.io/mysql:8.4.0

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

docker.io/mysql:8.0

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

docker.io/mysql:8.0-debian

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

docker.io/mysql:5.7

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

docker.io/mysql:8.0.37

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

docker.io/mysql:5.7.13

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

docker.io/mysql:8.0.35

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

docker.io/mysql:5.7.33

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

docker.io/mysql:8.0.38

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

docker.io/mysql:9.0.0

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

docker.io/mysql:5.7.40

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

docker.io/mysql:8.4.1

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

docker.io/mysql:8.3

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

docker.io/mysql:8.4.2

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

docker.io/mysql:8.2.0

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

docker.io/mysql:5.7.18

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

docker.io/mysql:8.0.16

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

docker.io/mysql:8.2

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

docker.io/mysql:8.0.39

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

docker.io/mysql:8.0.39

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

docker.io/mysql:9.0.1

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

docker.io/mysql:8.0.27

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

docker.io/mysql:8.0.31

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

docker.io/mysql:8.1.0

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

docker.io/mysql:8.0.36

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

docker.io/mysql:5.7.35

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

docker.io/mysql:8.0-oracle

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

docker.io/mysql:8.0.26

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

docker.io/mysql:8.0.32

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

docker.io/mysql:8.0.35

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

docker.io/mysql:5.6.48

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

docker.io/mysql:8.0.28

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

docker.io/mysql:5.7.32

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

docker.io/mysql:8.0.32

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

docker.io/mysql:8.4.3

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

docker.io/mysql:5.7.31

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

docker.io/mysql:8.0.3

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

docker.io/mysql:5.7.26

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

docker.io/mysql:5.7.42

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

docker.io/mysql:5.7.37

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

docker.io/mysql:8.0.33

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

docker.io/mysql/mysql-server:8.0.32

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

docker.io/mysql:8.0.37-oraclelinux9

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

docker.io/mysql:8.0.33-debian

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

docker.io/mysql:8.0.30

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

docker.io/mysql:8.0.40-debian

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

docker.io/mysql:5.7.30

linux/amd64 docker.io448.10MB2024-12-05 13:48
27

docker.io/mysql:8.4.0-oraclelinux8

linux/amd64 docker.io623.11MB2024-12-09 13:41
17

docker.io/mysql/mysql-router:latest

linux/amd64 docker.io254.61MB2024-12-10 12:16
15

docker.io/mysql/mysql-router:8.0.32

linux/amd64 docker.io254.61MB2024-12-10 12:18
15