← Back to team overview

maria-discuss team mailing list archive

New Question: Moving mariadb to docker installation



A new question has been asked in "MariaDB Community" by kitzu. Please answer it at http://mariadb.com/kb/en/moving-mariadb-to-docker-installation/ as the person asking the question may not be subscribed to the mailing list.

I'm running debian jessie and I'm currently trying to replace all my server services with docker containers. After some research, i tried this command:

docker run --name mariadb -v /var/lib/mysql:/var/lib/mysql -d -p 3306:3306 -d mariadb:latest

after stopping the local mariadb service, but this command didn't work. My webapplications didn't have any database access after. How do i currently move all databases? Is there a more secure way?

I just want a drop-in replacement. Starting the docker container and using the mariadb server as I used to.

To view or answer this question please visit: http://mariadb.com/kb/en/moving-mariadb-to-docker-installation/