I'm trying to implement MariaDB ColumnStore on Docker, as explained here.

But I only see two options to store the data, either locally in the container or in S3. What I need is to have an external/persistent docker volume with the data.

Is this possible?

  • Is this on your own machine? Or some Cloud service? Isn't S3 persistent? – Rick James Dec 24 '20 at 17:16
  • Is in my machine and on Azure – ps0604 Dec 24 '20 at 17:16
  • That is you want the code on your machine, but the data across the network? Sounds risky. – Rick James Dec 24 '20 at 19:23
  • No, data in my machine for development and on azure for production – ps0604 Dec 24 '20 at 19:25

This is how you do it:

docker run -d -p 3306:3306 --name cont_mariadb 
-v vol_mariadb:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my-pwd mariadb/columnstore
  • Please mark your own answer as correct - it may help others in the future! – Vérace Jan 5 at 5:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.