docker.io/mariadb:10.11.11 linux/amd64

docker.io/mariadb:10.11.11 - 国内下载镜像源 浏览次数:62
MariaDB: MariaDB 是一个 MySQL 的 forks 版本,它提供了 MySQL 的高级功能和性能。MariaDB 是 MySQL 5.x 和 8.x 的替代品,可以在 Linux、Windows 和 macOS 等操作系统上运行。
源镜像 docker.io/mariadb:10.11.11
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mariadb:10.11.11
镜像ID sha256:4254659f2379f8e1f62a81267c3ab59dfdb2460d0659d18da189f46264b9a2c1
镜像TAG 10.11.11
大小 326.25MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mariadbd
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 62 次
贡献者
镜像创建 2025-02-05T21:06:18Z
同步时间 2025-02-28 16:40
更新时间 2025-04-03 19:32
开放端口
3306/tcp
目录挂载
/var/lib/mysql
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.17 LANG=C.UTF-8 MARIADB_VERSION=1:10.11.11+maria~ubu2204
镜像标签
MariaDB Community: org.opencontainers.image.authors docker.io/library/ubuntu:jammy: org.opencontainers.image.base.name MariaDB Database for relational SQL: org.opencontainers.image.description https://hub.docker.com/_/mariadb/: org.opencontainers.image.documentation GPL-2.0: org.opencontainers.image.licenses ubuntu: org.opencontainers.image.ref.name https://github.com/MariaDB/mariadb-docker: org.opencontainers.image.source MariaDB Database: org.opencontainers.image.title https://github.com/MariaDB/mariadb-docker: org.opencontainers.image.url MariaDB Community: org.opencontainers.image.vendor 10.11.11: org.opencontainers.image.version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-02-06 05:06:18  0.00B 设置默认要执行的命令
CMD ["mariadbd"]
                        
# 2025-02-06 05:06:18  0.00B 声明容器运行时监听的端口
EXPOSE map[3306/tcp:{}]
                        
# 2025-02-06 05:06:18  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2025-02-06 05:06:18  26.37KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2025-02-06 05:06:18  10.25KB 复制新文件或目录到容器中
COPY healthcheck.sh /usr/local/bin/healthcheck.sh # buildkit
                        
# 2025-02-06 05:06:18  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/mysql]
                        
# 2025-02-06 05:06:18  233.46MB 执行命令并创建新的镜像层
RUN |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_VERSION=1:10.11.11+maria~ubu2204 REPOSITORY=http://archive.mariadb.org/mariadb-10.11.11/repo/ubuntu/ jammy main main/debug /bin/sh -c set -ex; 	{ 		echo "mariadb-server" mysql-server/root_password password 'unused'; 		echo "mariadb-server" mysql-server/root_password_again password 'unused'; 	} | debconf-set-selections; 	apt-get update; 	mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; 	apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat 	; 	rm -rf /var/lib/apt/lists/*; 	rm -rf /var/lib/mysql /etc/mysql/mariadb.conf.d/50-mysqld_safe.cnf; 	mkdir -p /var/lib/mysql /run/mysqld; 	chown -R mysql:mysql /var/lib/mysql /run/mysqld; 	chmod 1777 /run/mysqld; 	find /etc/mysql/ -name '*.cnf' -print0 		| xargs -0 grep -lZE '^(bind-address|log|user\s)' 		| xargs -rt -0 sed -Ei 's/^(bind-address|log|user\s)/#&/'; 	printf "[mariadb]\nhost-cache-size=0\nskip-name-resolve\n" > /etc/mysql/mariadb.conf.d/05-skipcache.cnf; 	if [ -L /etc/mysql/my.cnf ]; then 		sed -i -e '/includedir/ {N;s/\(.*\)\n\(.*\)/\n\2\n\1/}' /etc/mysql/mariadb.cnf; 	fi # buildkit
                        
# 2025-02-06 05:06:18  135.00B 执行命令并创建新的镜像层
RUN |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_VERSION=1:10.11.11+maria~ubu2204 REPOSITORY=http://archive.mariadb.org/mariadb-10.11.11/repo/ubuntu/ jammy main main/debug /bin/sh -c set -e;	echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; 	{ 		echo 'Package: *'; 		echo 'Pin: release o=MariaDB'; 		echo 'Pin-Priority: 999'; 	} > /etc/apt/preferences.d/mariadb # buildkit
                        
# 2025-02-06 05:06:18  0.00B 定义构建参数
ARG REPOSITORY=http://archive.mariadb.org/mariadb-10.11.11/repo/ubuntu/ jammy main main/debug
                        
# 2025-02-06 05:06:18  0.00B 设置环境变量 MARIADB_VERSION
ENV MARIADB_VERSION=1:10.11.11+maria~ubu2204
                        
# 2025-02-06 05:06:18  0.00B 定义构建参数
ARG MARIADB_VERSION=1:10.11.11+maria~ubu2204
                        
# 2025-02-06 05:06:18  0.00B 添加元数据标签
LABEL org.opencontainers.image.authors=MariaDB Community org.opencontainers.image.title=MariaDB Database org.opencontainers.image.description=MariaDB Database for relational SQL org.opencontainers.image.documentation=https://hub.docker.com/_/mariadb/ org.opencontainers.image.base.name=docker.io/library/ubuntu:jammy org.opencontainers.image.licenses=GPL-2.0 org.opencontainers.image.source=https://github.com/MariaDB/mariadb-docker org.opencontainers.image.vendor=MariaDB Community org.opencontainers.image.version=10.11.11 org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker
                        
# 2025-02-06 05:06:18  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2025-02-06 05:06:18  0.00B 执行命令并创建新的镜像层
RUN |1 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
                        
# 2025-02-06 05:06:18  14.57MB 执行命令并创建新的镜像层
RUN |1 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 /bin/sh -c set -eux; 	apt-get update; 	DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends 		ca-certificates 		gpg 		gpgv 		libjemalloc2 		pwgen 		tzdata 		xz-utils 		zstd ; 	savedAptMark="$(apt-mark showmanual)"; 	apt-get install -y --no-install-recommends 		dirmngr 		gpg-agent 		wget; 	rm -rf /var/lib/apt/lists/*; 	dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; 	wget -q -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; 	wget -q -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; 	GNUPGHOME="$(mktemp -d)"; 	export GNUPGHOME; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; 	for key in $GPG_KEYS; do 		gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; 	done; 	gpg --batch --export "$GPG_KEYS" > /etc/apt/trusted.gpg.d/mariadb.gpg; 	if command -v gpgconf >/dev/null; then 		gpgconf --kill all; 	fi; 	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 # buildkit
                        
# 2025-02-06 05:06:18  0.00B 定义构建参数
ARG GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8
                        
# 2025-02-06 05:06:18  0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.17
                        
# 2025-02-06 05:06:18  328.57KB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql --home-dir /var/lib/mysql # buildkit
                        
# 2025-01-26 13:31:11  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2025-01-26 13:31:10  77.86MB 
/bin/sh -c #(nop) ADD file:1b6c8c9518be42fa2afe5e241ca31677fce58d27cdfa88baa91a65a259be3637 in / 
                        
# 2025-01-26 13:31:07  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2025-01-26 13:31:07  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2025-01-26 13:31:07  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2025-01-26 13:31:07  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:4254659f2379f8e1f62a81267c3ab59dfdb2460d0659d18da189f46264b9a2c1",
    "RepoTags": [
        "mariadb:10.11.11",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mariadb:10.11.11"
    ],
    "RepoDigests": [
        "mariadb@sha256:3958f2df725a9ebdabd0ae6a0c0a841da8e45194b36a33d8bd83abb7dd6c034a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mariadb@sha256:b0106fea96d793d88835b2033a2d1366c0776d4ab612d12534216eb9439bc085"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-02-05T21:06:18Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "3306/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GOSU_VERSION=1.17",
            "LANG=C.UTF-8",
            "MARIADB_VERSION=1:10.11.11+maria~ubu2204"
        ],
        "Cmd": [
            "mariadbd"
        ],
        "Image": "",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.authors": "MariaDB Community",
            "org.opencontainers.image.base.name": "docker.io/library/ubuntu:jammy",
            "org.opencontainers.image.description": "MariaDB Database for relational SQL",
            "org.opencontainers.image.documentation": "https://hub.docker.com/_/mariadb/",
            "org.opencontainers.image.licenses": "GPL-2.0",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.source": "https://github.com/MariaDB/mariadb-docker",
            "org.opencontainers.image.title": "MariaDB Database",
            "org.opencontainers.image.url": "https://github.com/MariaDB/mariadb-docker",
            "org.opencontainers.image.vendor": "MariaDB Community",
            "org.opencontainers.image.version": "10.11.11"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 326253682,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9b240bde8d1f02dad771dc9b954f209a9185530acc7e655933908e8f74d0c94f/diff:/var/lib/docker/overlay2/df80249da528061f6c1eec502695c516446a160aaba12d9018d52a93a10bc735/diff:/var/lib/docker/overlay2/f64549c44c2fa9dfde0e5ae58cba18d0100247ace2c8100e93f0d79207abec34/diff:/var/lib/docker/overlay2/683842afdd005649078c80614fe832bf220e8c2dee9c71eace05e57fcdbe81eb/diff:/var/lib/docker/overlay2/a59f1e2110c72c84eda3de7a9f3e57bc81f717835b40c999eef9be4d2bdcc8f9/diff:/var/lib/docker/overlay2/93b17ea5f37f5feb808f4558b0c99643d0a69a858fb181686d80dda0cebd06a6/diff:/var/lib/docker/overlay2/ace3f972cf88bd330727fa9a25fd0df2c3fec1df161ac9102bf9f5739b40b82c/diff",
            "MergedDir": "/var/lib/docker/overlay2/af86c6f6f79f3266f61fa17f29296908fcf71bc484351cfa591c69d363f59624/merged",
            "UpperDir": "/var/lib/docker/overlay2/af86c6f6f79f3266f61fa17f29296908fcf71bc484351cfa591c69d363f59624/diff",
            "WorkDir": "/var/lib/docker/overlay2/af86c6f6f79f3266f61fa17f29296908fcf71bc484351cfa591c69d363f59624/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:270a1170e7e398434ff1b31e17e233f7d7b71aa99a40473615860068e86720af",
            "sha256:6d035e66c4fd0dfc1af9ed111883858a0e4aee28efbdc773462534b9fa9540c3",
            "sha256:1a966a87cda495548bac1589f7441f8ee382883f1b10d57172222495febf7209",
            "sha256:76a062be1274c637a41e807ad162f437261450e4982fba78952b2acdb556ef91",
            "sha256:4cc02cc5cc3fd57ebbeb2362b745364d309ccb52d8fda71c0979d34049f46d15",
            "sha256:d714cd160054f8772a052f0a79a628f96dbf4c5451621fa8f5da3ee8fb07824e",
            "sha256:56f8438cbcbd9afeb0fd3f0be00cce3b4becf4ed21e51fc7a05d96d9970b9d0b",
            "sha256:03543ca2a58665cf25db7e00c5fa78dfc2ee118037d764c448fa8333688b3187"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-02-28T16:39:57.985397914+08:00"
    }
}

更多版本

docker.io/mariadb:10.8.2

linux/amd64 docker.io414.22MB2024-07-30 11:02
366

docker.io/mariadb:10.11.8

linux/amd64 docker.io404.25MB2024-08-30 18:39
223

docker.io/mariadb:10.1

linux/amd64 docker.io351.89MB2024-08-30 18:41
232

docker.io/mariadb:lts

linux/arm64 docker.io434.43MB2024-08-31 16:42
333

docker.io/mariadb:lts

linux/amd64 docker.io406.09MB2024-08-31 16:43
342

docker.io/mariadb:10.5

linux/amd64 docker.io394.72MB2024-09-02 14:50
317

docker.io/mariadb:10.6.9

linux/amd64 docker.io413.58MB2024-09-14 09:01
257

docker.io/mariadb:11.2.3

linux/amd64 docker.io404.69MB2024-09-14 09:02
235

docker.io/mariadb:10.3.10

linux/amd64 docker.io365.63MB2024-10-10 17:43
180

docker.io/mariadb:11.4.4

linux/arm64 docker.io434.32MB2024-11-18 17:06
145

docker.io/mariadb:11.4.4

linux/amd64 docker.io405.87MB2024-11-18 17:09
127

docker.io/mariadb/maxscale:2.5.24

linux/amd64 docker.io660.71MB2025-01-08 09:49
90

docker.io/mariadb:11.6.2

linux/amd64 docker.io406.90MB2025-01-16 21:49
127

docker.io/mariadb:10.3.39

linux/amd64 docker.io368.68MB2025-02-17 17:04
78

docker.io/mariadb:10.11.11

linux/amd64 docker.io326.25MB2025-02-28 16:40
61

docker.io/mariadb:latest

linux/amd64 docker.io335.96MB2025-03-15 20:01
81