Mariadb-docker: Add MyRocks

Created on 26 Oct 2017  路  4Comments  路  Source: MariaDB/mariadb-docker

MyRocks engine is one of the highlights of MariaDB 10.2

Compared to InnoDB, it uses less space and is faster for most workloads. It is also optimized for SSD.

https://mariadb.com/kb/en/library/getting-started-with-myrocks/

Most helpful comment

Thanks, I've fixed the original posting!

All 4 comments

@amq you can do that easily with a simple dockerfile:

FROM mariadb:10.2
RUN apt-get update && apt-get -y install mariadb-plugin-rocksdb && rm -rf /var/cache/apt/lists/*

Then:

docker pull mariadb:10.2
docker build -t myrocks .
docker run -d -p 3306:3306 --name myrocks -e MYSQL_ROOT_PASSWORD=my-secret-pw myrocks
mysql -h 127.0.0.1 -P3306 -u root -pmy-secret-password 

Enjoy your MyRocks-enabled MariaDB!

@tanji This works well. There is a small typo: the package is mariadb-plugin-rocksdb.

Thanks, I've fixed the original posting!

This looks resolved. Closing, and Thanks!

Was this page helpful?
0 / 5 - 0 ratings