Docker Image for MariaDB.
50K+
Docker Image packaging for MariaDB. (amd64, arm32v5, arm32v6, arm32v7, arm64v8, i386, mips64le, ppc64le,riscv64, s390x)
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
docker run -d \
--name=mariadb \
-e TZ=Asia/Shanghai \
-e MARIADB_ROOT_PWD="password" \
-e DISALLOW_ROOT_LOGIN_REMOTELY=0 \
-p 3306:3306 \
--restart unless-stopped \
snowdreamtech/mariadb:latest
docker run -d \
--name=mariadb \
-e TZ=Asia/Shanghai \
-e MARIADB_ROOT_PWD="password" \
-e DISALLOW_ROOT_LOGIN_REMOTELY=0 \
-e MARIADB_DATAmariadb="testdb" \
-e MARIADB_USER="testuser" \
-e MARIADB_PWD="testuserpass" \
-e DISALLOW_USER_LOGIN_REMOTELY=0 \
-e MARIADB_PORT=3306 \
-p 3306:3306 \
-v /path/to/data:/var/lib/mysql \
--restart unless-stopped \
snowdreamtech/mariadb:latest
version: "3"
services:
mariadb:
image: snowdreamtech/mariadb:latest
container_name: mariadb
environment:
- TZ=Asia/Shanghai
- MARIADB_ROOT_PWD="password"
- DISALLOW_ROOT_LOGIN_REMOTELY=0
ports:
- 3306:3306
restart: unless-stopped
version: "3"
services:
mariadb:
image: snowdreamtech/mariadb:latest
container_name: mariadb
environment:
- TZ=Asia/Shanghai
- MARIADB_ROOT_PWD="password"
- DISALLOW_ROOT_LOGIN_REMOTELY=0
- MARIADB_DATAmariadb="testdb"
- MARIADB_USER="testuser"
- MARIADB_PWD="testuserpass"
- DISALLOW_USER_LOGIN_REMOTELY=0
- MARIADB_PORT=3306
volumes:
- /path/to/data:/var/lib/mysql
ports:
- 3306:3306
restart: unless-stopped
docker buildx create --use --name build --node build --driver-opt network=host
docker buildx build -t snowdreamtech/mariadb --platform=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x . --push
MIT
Content type
Image
Digest
sha256:d3a9075d5…
Size
152.4 MB
Last updated
about 1 month ago
docker pull snowdreamtech/mariadb