docker.io/mariadb:11.6.2 linux/amd64

docker.io/mariadb:11.6.2 - 国内下载镜像源 浏览次数:14
MariaDB: MariaDB 是一个 MySQL 的 forks 版本,它提供了 MySQL 的高级功能和性能。MariaDB 是 MySQL 5.x 和 8.x 的替代品,可以在 Linux、Windows 和 macOS 等操作系统上运行。
源镜像 docker.io/mariadb:11.6.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mariadb:11.6.2
镜像ID sha256:6722945a6940fd6c3e394cb4791057f7210b0ead90eee0f85094cd24e2ca412d
镜像TAG 11.6.2
大小 406.90MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mariadbd
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 14 次
贡献者 pe****p@outlook.com
镜像创建 2024-11-21T21:43:46Z
同步时间 2025-01-16 21:49
更新时间 2025-01-18 09:37
开放端口
3306/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.17 LANG=C.UTF-8 MARIADB_VERSION=1:11.6.2+maria~ubu2404
镜像标签
MariaDB Community: org.opencontainers.image.authors docker.io/library/ubuntu:noble: 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 11.6.2: org.opencontainers.image.version

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-11-22 05:43:46  0.00B 设置默认要执行的命令
CMD ["mariadbd"]
                        
# 2024-11-22 05:43:46  0.00B 声明容器运行时监听的端口
EXPOSE map[3306/tcp:{}]
                        
# 2024-11-22 05:43:46  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2024-11-22 05:43:46  26.47KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2024-11-22 05:43:46  10.35KB 复制新文件或目录到容器中
COPY healthcheck.sh /usr/local/bin/healthcheck.sh # buildkit
                        
# 2024-11-22 05:43:46  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/mysql]
                        
# 2024-11-22 05:43:46  315.44MB 执行命令并创建新的镜像层
RUN |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_VERSION=1:11.6.2+maria~ubu2404 REPOSITORY=http://archive.mariadb.org/mariadb-11.6.2/repo/ubuntu/ noble 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; 	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
                        
# 2024-11-22 05:43:46  133.00B 执行命令并创建新的镜像层
RUN |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_VERSION=1:11.6.2+maria~ubu2404 REPOSITORY=http://archive.mariadb.org/mariadb-11.6.2/repo/ubuntu/ noble 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
                        
# 2024-11-22 05:43:46  0.00B 定义构建参数
ARG REPOSITORY=http://archive.mariadb.org/mariadb-11.6.2/repo/ubuntu/ noble main main/debug
                        
# 2024-11-22 05:43:46  0.00B 设置环境变量 MARIADB_VERSION
ENV MARIADB_VERSION=1:11.6.2+maria~ubu2404
                        
# 2024-11-22 05:43:46  0.00B 定义构建参数
ARG MARIADB_VERSION=1:11.6.2+maria~ubu2404
                        
# 2024-11-22 05:43:46  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:noble 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=11.6.2 org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker
                        
# 2024-11-22 05:43:46  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2024-11-22 05:43:46  0.00B 执行命令并创建新的镜像层
RUN |1 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
                        
# 2024-11-22 05:43:46  13.30MB 执行命令并创建新的镜像层
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
                        
# 2024-11-22 05:43:46  0.00B 定义构建参数
ARG GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8
                        
# 2024-11-22 05:43:46  0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.17
                        
# 2024-11-22 05:43:46  4.64KB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql --home-dir /var/lib/mysql && userdel --remove ubuntu # buildkit
                        
# 2024-11-20 01:29:25  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-11-20 01:29:25  78.12MB 
/bin/sh -c #(nop) ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 in / 
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:6722945a6940fd6c3e394cb4791057f7210b0ead90eee0f85094cd24e2ca412d",
    "RepoTags": [
        "mariadb:11.6.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mariadb:11.6.2"
    ],
    "RepoDigests": [
        "mariadb@sha256:a9547599cd87d7242435aea6fda22a9d83e2c06d16c658ef70d2868b3d3f6a80",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mariadb@sha256:9f862ccbf7c81a45f65c2a6ae2bc18d09d617fb95f3fe9d50837fb98a5bd06bc"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-21T21:43:46Z",
    "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:11.6.2+maria~ubu2404"
        ],
        "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:noble",
            "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": "11.6.2"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 406900513,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/a0f5b0df182ab36d9a6e2b8c4d33bb40a10b4b6b895e468a37a82fe718d38d9b/diff:/var/lib/docker/overlay2/e4decc9cc89dc83610d4b6c6ee76eff3f27d6c73ed2c59a83513c2021d4a100c/diff:/var/lib/docker/overlay2/b5fcec3c014926410a42ca3674cb303bd5f8631c8027c959598d9af8a210bd4c/diff:/var/lib/docker/overlay2/b0694609adc9dce6a250e23b8dd875375b9e82d8715753a03a2e1faa4c26453a/diff:/var/lib/docker/overlay2/ad28326491e0a56e4038a5a7b6be82fcd991037607061610471303d41d4d021a/diff:/var/lib/docker/overlay2/9a002745568a12b990dd0e9bd492a36bf5e7b6b08933d1174566056ee16e2822/diff:/var/lib/docker/overlay2/dd9c6c06cee7cbeacd7427404922c280abf5a7156d6a8d1736426b0776ed9b6a/diff",
            "MergedDir": "/var/lib/docker/overlay2/0cdf1b95d6ed529099ff5c6c0d0ab2116cf49e3c1c4863fe08a51bda0d6f9e8b/merged",
            "UpperDir": "/var/lib/docker/overlay2/0cdf1b95d6ed529099ff5c6c0d0ab2116cf49e3c1c4863fe08a51bda0d6f9e8b/diff",
            "WorkDir": "/var/lib/docker/overlay2/0cdf1b95d6ed529099ff5c6c0d0ab2116cf49e3c1c4863fe08a51bda0d6f9e8b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:687d50f2f6a697da02e05f2b2b9cb05c1d551f37c404ebe55fdec44b0ae8aa5c",
            "sha256:175e5fe16a1dd7b6512e67ca4f88e16622d0a2a16beb8b553076e745ee948710",
            "sha256:63d336d6eb891b61d1ff77b9467fc14ae5be12f883519df71da73cc71aecee16",
            "sha256:d7be0c7952ead737d979fe7bc44fc0e5e12cbbda2f0cd9a82cc7fb5a5fda42ca",
            "sha256:12e6745db18270c1059e6dc02c1f32eaafa242376b6c887c11887a6d8e859f53",
            "sha256:f1c6e88f58cf5ff6119545365a6339249a3cf440b61b100d2846f25c70b77218",
            "sha256:2fd59fef0792f1bdf8d7f4f6db1adf5f58e39aa3826926877f78191ef6ad297b",
            "sha256:491f1d5b2c67f121b74a60a206ae07caed614ff984a54e76ffcdda2bd9c8b352"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-16T21:49:33.408361162+08:00"
    }
}

更多版本

docker.io/mariadb:10.8.2

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

docker.io/mariadb:10.11.8

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

docker.io/mariadb:10.1

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

docker.io/mariadb:lts

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

docker.io/mariadb:lts

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

docker.io/mariadb:10.5

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

docker.io/mariadb:10.6.9

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

docker.io/mariadb:11.2.3

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

docker.io/mariadb:10.3.10

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

docker.io/mariadb:11.4.4

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

docker.io/mariadb:11.4.4

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

docker.io/mariadb/maxscale:2.5.24

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

docker.io/mariadb:11.6.2

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