docker.io/mysql/mysql-server:8.0 linux/amd64

docker.io/mysql/mysql-server:8.0 - 国内下载镜像源 浏览次数:27
1. 使用Docker提供的MySQL服务器镜像,包含了基于MySQL 8.x版本的完整环境。 2.
  • Image Name: mysql/mysql-server
  • Full Name: MySQL Server
  • Path: docker.io/mysql/mysql-server
3.

Docker images

MySQL Server

  • image name:
  • mysql/mysql-server
源镜像 docker.io/mysql/mysql-server:8.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql/mysql-server:8.0
镜像ID sha256:1d9c2219ff69238d2f8e576dba546bcd16baaef710babbb1f89e67bbd3530267
镜像TAG 8.0
大小 495.92MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mysqld
启动入口 /entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 27 次
贡献者
镜像创建 2023-01-18T06:00:30.744059386Z
同步时间 2025-01-14 14:17
更新时间 2025-01-18 04:03
开放端口
3306/tcp 33060/tcp 33061/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin MYSQL_UNIX_PORT=/var/lib/mysql/mysql.sock

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-01-18 14:00:30  0.00B 
/bin/sh -c #(nop)  CMD ["mysqld"]
                        
# 2023-01-18 14:00:29  0.00B 
/bin/sh -c #(nop)  EXPOSE 3306 33060 33061
                        
# 2023-01-18 14:00:28  0.00B 
/bin/sh -c #(nop)  HEALTHCHECK &{["CMD-SHELL" "/healthcheck.sh"] "0s" "0s" "0s" '\x00'}
                        
# 2023-01-18 14:00:27  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["/entrypoint.sh"]
                        
# 2023-01-18 14:00:27  1.10KB 
/bin/sh -c #(nop) COPY file:f494b5e879200b2936bb0269486a813af8cd32101c39b7e56b4a228861e76aaf in /healthcheck.sh 
                        
# 2023-01-18 14:00:26  8.54KB 
/bin/sh -c #(nop) COPY file:ef54c791342d3a87709ea75c8adc515cf74fbc253ad4558d36bb8154d90d1e39 in /entrypoint.sh 
                        
# 2023-01-18 14:00:24  0.00B 
/bin/sh -c #(nop)  ENV MYSQL_UNIX_PORT=/var/lib/mysql/mysql.sock
                        
# 2023-01-18 14:00:23  0.00B 
|2 MYSQL_SERVER_PACKAGE=mysql-community-server-minimal MYSQL_SHELL_PACKAGE=mysql-shell /bin/sh -c /prepare-image.sh && rm -f /prepare-image.sh
                        
# 2023-01-18 14:00:22  972.00B 
/bin/sh -c #(nop) COPY file:a86db77562959d852184d0b3828419172dede0850569de650cca184181231380 in / 
                        
# 2023-01-18 14:00:21  382.62MB 
|2 MYSQL_SERVER_PACKAGE=mysql-community-server-minimal MYSQL_SHELL_PACKAGE=mysql-shell /bin/sh -c microdnf update && echo "[main]" > /etc/dnf/dnf.conf   && microdnf install -y --enablerepo=mysql-tools-community $MYSQL_SHELL_PACKAGE   && microdnf install -y --disablerepo=ol8_appstream    --enablerepo=mysql80-community-minimal $MYSQL_SERVER_PACKAGE   && microdnf clean all   && mkdir /docker-entrypoint-initdb.d
                        
# 2023-01-18 13:58:50  6.87MB 
|2 MYSQL_SERVER_PACKAGE=mysql-community-server-minimal MYSQL_SHELL_PACKAGE=mysql-shell /bin/sh -c rpm -U https://repo.mysql.com/mysql-community-minimal-release-el8.rpm   && rpm -U https://repo.mysql.com/mysql80-community-release-el8.rpm
                        
# 2023-01-18 13:58:47  0.00B 
/bin/sh -c #(nop)  ARG MYSQL_SHELL_PACKAGE=mysql-shell
                        
# 2023-01-18 13:58:46  0.00B 
/bin/sh -c #(nop)  ARG MYSQL_SERVER_PACKAGE=mysql-community-server-minimal
                        
# 2023-01-18 05:49:31  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2023-01-18 05:49:30  106.42MB 
/bin/sh -c #(nop) ADD file:599abbad96e264361b1bc5a7643f88354e406a2a1f55256af8a67e5a71ac3044 in / 
                        
                    

镜像信息

{
    "Id": "sha256:1d9c2219ff69238d2f8e576dba546bcd16baaef710babbb1f89e67bbd3530267",
    "RepoTags": [
        "mysql/mysql-server:8.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql/mysql-server:8.0"
    ],
    "RepoDigests": [
        "mysql/mysql-server@sha256:d6c8301b7834c5b9c2b733b10b7e630f441af7bc917c74dba379f24eeeb6a313",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql/mysql-server@sha256:a627110b770e4d0228361fc0159ef0b82333b1fc9f0c7e44ff848f5b7687ca1a"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-01-18T06:00:30.744059386Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.15",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "3306/tcp": {},
            "33060/tcp": {},
            "33061/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "MYSQL_UNIX_PORT=/var/lib/mysql/mysql.sock"
        ],
        "Cmd": [
            "mysqld"
        ],
        "Healthcheck": {
            "Test": [
                "CMD-SHELL",
                "/healthcheck.sh"
            ]
        },
        "Image": "sha256:1e23587dee9c4642d2d26e7b46be756f7b0839ea3be8a03585cc0e89f2909e21",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 495918257,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2423c6eead26f6f4ff9b63393cf1977523860477ea63fd35c7688b2ee583d311/diff:/var/lib/docker/overlay2/a3d2f492efcf97c0a78d984f13b3dc07a28c31f2cc47f75e72648eec7c665915/diff:/var/lib/docker/overlay2/225e510fb46eb4b083987ba5599ff2d5ee707aba0f29de48237dac5e481b8cbb/diff:/var/lib/docker/overlay2/7a6fd7462c5272ddd10dbcd4a467e56f404e829800ff32b3f8500ae86de9cbc1/diff:/var/lib/docker/overlay2/9cfd141c1ae3fe9586d358c35f24beaef9b9a409599da0c76d1a894e0b869eee/diff:/var/lib/docker/overlay2/d8bdbda2a170060471fc52f41b3543c7cc717ddb5fcec444cc787cbd5ee3ee2d/diff",
            "MergedDir": "/var/lib/docker/overlay2/c957e8a246ec234086f41066d3f6c7084484a205378f903c5d913dd898c5d005/merged",
            "UpperDir": "/var/lib/docker/overlay2/c957e8a246ec234086f41066d3f6c7084484a205378f903c5d913dd898c5d005/diff",
            "WorkDir": "/var/lib/docker/overlay2/c957e8a246ec234086f41066d3f6c7084484a205378f903c5d913dd898c5d005/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e3235af76f171c0ce79ba56cacc80695504a0db3d087a9934c296e565a83ae40",
            "sha256:13b2c8090ac7472322412aa8deb8cb14af09bbb3be6c19330595a15c50b4778a",
            "sha256:77e1cee74909f4ed3bd8bbf299b1ca603d304ee3c92ed18635c343cf8978aa0c",
            "sha256:2ea517a3514b2e99671607a5a83ad0696028dbd2c229b66f27ed6c5449e64dcb",
            "sha256:8602389e3eefe672dc6848c19b42e762310f2b64025bf70afa2f06c992b06efc",
            "sha256:45c3c88db5638a2642fbcc55ae33801e22e92ca3c43314315cb7401d91dbe443",
            "sha256:981afb24c99d2a09dc26912461f7704095f27f09c62e58db296b867c276c82b6"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-14T14:17:28.81817576+08:00"
    }
}

更多版本

docker.io/mysql/mysql-server:8.0.32

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

docker.io/mysql/mysql-server:8.0

linux/amd64 docker.io495.92MB2025-01-14 14:17
26