MariaDB Containers
See MariaDB and Docker in action!
- Set up web-based developer environments locally, and connect MariaDB to VS Code Server, CloudBeaver, PHP/Laravel and phpMyAdmin, using a single docker-compose command and configuration file.
Containers are an OCI standard format for software images and their specified time all bundled up into a single distributable time. They can be used for production, development or testing.
Docker Inc. run a Docker Official Images program to provide users with an essential base implementation of MariaDB in a container and to exemplify best practices of a container.
The containers are available on Docker Hub as docker.io/library/mariadb though many container runtime implementation will fill in the docker.io/library where the host/path isn't specified.
The containers are in a Open Container Initiative format that allows the containers to be interoperable with a number of container runtime implementations. Docker, or more fully Docker Engine, is just one of the many available runtimes.
Many people use MariaDB Docker Official Image containers in CI systems like GitHub Actions, though its possible to use these in production environments like kubernetes.
The MariaDB Server container images are available with a number of tags:
- A full version, like 10.11.5
- A major version like 10.11
- The most recent stable GA version - latest
- The most recent stable LTS version - lts
Versions that aren't stable will be suffixed with -rc, or -alpha to clearly show their release status, and enables Renovatebot and other that follow semantic versioning to follow updates.
For a consistent application between testing an production environment using the SHA hash of the image is recommended like docker.io/library/mariadb@sha256:29fe5062baf36bae8ec68f21a3dce4f0372dadc185e687624f1252fc49d91c67. There is a list of mapping and history of tags to SHA hash on the Docker Library repository.
Open Questions
-
MariaDB 11.4.4 docker image
Where can I find MariaDB 11.4.4 docker image? Docker Hub only 11.4.3 now. h... -
mysqld should be with pid 1 inside the container
mariadb es 10.5 docker container does not have mysqld process with pid 1 wh... -
Nextcloud on Odroid XU4
Hi, My NAS based on an Odroid XU4 and nextcloud + mariadb crashed. I had c... -
No 10.11.10 container release on docker hub?
The 10.11.10 release came out more than a week ago. We have updated our .rp... -
running mariadb und podman
I am trying to create a mariadb under podman with the following command "do... -
Should MariaDB Docker Containers really be using MacOS setting for lower_case_table_names when hosted in Windows?
When hosted on Windows and the /var/lib/mysql folder is mapped to the host ... -
Windows Server 2022, Containers, and Docker
I was rather excited about our Server 2022 upgrade, as it promised to run D...
Answered Questions
-
Best way to make our automation script wait until the database has been imported before proceeding to next step
We have automation in our pipelines that spins up a MariaDB container and t... -
docker compose down results in "Error response from daemon: cannot stop container: permission denied"
hello community, i have setup a docker compose stack with an web service an... -
Docker image incl. ColumnStore
Where are focal images incl. ColumnStore engine? -
Error response from daemon
i did your turorial 'Start a mariadb server instance' step by step from he... -
Extending docker-entrypoint.sh
How can I extend the functionality of docker-entrypoint.sh for an additiona... -
How to change root to native-password plugin with dockerhub image
The version of maria in the latest dockerhub image expects root to login us... -
how to restore mariadb with mariabackup in docker?
If we can't stop mariadb in docker, how could we restore mariadb with maria... -
mariadb
docker build . --tag mariadb-muriacell [+] Building 0.0s (0/0) docker:defa... -
mariadb image not exiting smothly with docker rootless
it seems the mariadb:10.3 image is not compatible with docker rootless mode... -
Problem starting up docker for the first time.
Hi, Docker created using below command on "Debian stretch 9.13" with arm64 architecture. d -
Release docker images for 10.7
Is there a release date for the upcoming 10.7 release, especially the corrs... -
Root Password Change - How can I stop the mysqld in the mariadb container
Hi, I am using the mariadb container with podman, and in order to make it r... -
Setup binlogs from Docker compose file ?
Hi, I need to setup binlogs from Docker compose file, is it possible ? I tr... -
Using environment variables to create user@localhost
Using docker-compose to spin up the latest MariaDB image/instance: ... env...