Skip to content

mroonga/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile for Mroonga

Quick start

You can start Mroonga as

$ sudo docker container run -d groonga/mroonga
$ mysql -h <container's ipaddr> -u root

MySQL root account doesn't set any password and isn't limited by connecting host. (This mean root was created by "GRANT ALL ON *.* TO root@'%' WITH GRANT OPTION")

Mount host directory as Mroonga's datadir

Now, we support to mount datadir from host machine like this.

$ sudo docker container run -d -v /path/to/datadir:/var/lib/mysql groonga/mroonga

If your /path/to/datadir has ibdata1, container decides using datadir as is. If your /path/to/datadir doesn't have ibdata1, container decides to re-initialize datadir for installing Mroonga.

Supported versions

Currently, groonga/mroonga provides these couples of versions. (tags cannot display all of them..)

For MySQL 8.0

tag MySQL Mroonga Groonga
mysql-8.0-latest 8.0.30 12.06 12.0.6
mysql-8.0.30-12.06 8.0.30 12.06 12.0.6
mysql-8.0.29-12.04 8.0.29 12.04 12.0.4
mysql-8.0.29-12.03 8.0.29 12.03 12.0.3
mysql-8.0.28-12.02 8.0.28 12.02 12.0.2
mysql-8.0.28-12.00 8.0.28 12.00 12.0.0
mysql-8.0.28-11.13 8.0.28 11.13 11.1.3
mysql-8.0.27-11.13 8.0.27 11.13 11.1.3
mysql-8.0.25-11.03 8.0.25 11.03 11.0.3
mysql8025_mroonga1103 8.0.25 11.03 11.0.3
mysql8025_mroonga1102 8.0.25 11.02 11.0.2
mysql8023_mroonga1101 8.0.23 11.01 11.0.1
mysql8023_mroonga1100 8.0.23 11.00 11.0.0
mysql8023_mroonga1011 8.0.23 10.11 10.1.1
mysql8022_mroonga1010 8.0.22 10.10 10.1.0
mysql8019_mroonga1001 8.0.19 10.01 10.0.1
mysql8019_mroonga912 8.0.18 9.12 9.1.2
mysql8018_mroonga909 8.0.18 9.09 9.0.9
mysql8017_mroonga907 8.0.17 9.07 9.0.7
mysql8017_mroonga905 8.0.17 9.05 9.0.5
mysql8016_mroonga904 8.0.16 9.04 9.0.4

For MySQL 5.7

EOL

tag MySQL Mroonga Groonga
mysql-5.7-latest, latest 5.7.39 12.06 12.0.6
mysql-5.7.39-12.06 5.7.39 12.06 12.0.6
mysql-5.7.38-12.04 5.7.38 12.04 12.0.4
mysql-5.7.38-12.03 5.7.38 12.03 12.0.3
mysql-5.7.37-12.02 5.7.37 12.02 12.0.2
mysql-5.7.37-12.00 5.7.37 12.00 12.0.0
mysql-5.7.37-11.13 5.7.37 11.13 11.1.3
mysql-5.7.36-11.13 5.7.36 11.13 11.1.3
mysql-5.7.34-11.03 5.7.34 11.03 11.0.3
mysql5734_mroonga1103 5.7.34 11.03 11.0.3
mysql5734_mroonga1102 5.7.34 11.02 11.0.2
mysql5733_mroonga1101 5.7.33 11.01 11.0.1
mysql5733_mroonga1100 5.7.33 11.00 11.0.0
mysql5733_mroonga1011 5.7.33 10.11 10.1.1
mysql5732_mroonga1010 5.7.32 10.10 10.1.0
mysql5729_mroonga1001 5.7.29 10.01 10.0.1
mysql5729_mroonga912 5.7.29 9.12 9.1.2
mysql5728_mroonga909 5.7.28 9.09 9.0.9
mysql5727_mroonga907 5.7.27 9.07 9.0.7
mysql5727_mroonga905 5.7.27 9.05 9.0.5
mysql5726_mroonga904 5.7.26 9.04 9.0.4
mysql5726_mroonga903 5.7.26 9.03 9.0.3
mysql5726_mroonga901 5.7.26 9.01 9.0.2
mysql5725_mroonga900 5.7.25 9.00 9.0.0
mysql5724_mroonga809 5.7.24 8.09 8.0.9
mysql5723_mroonga807 5.7.23 8.07 8.0.7
mysql5723_mroonga806 5.7.23 8.06 8.0.6
mysql5722_mroonga803 5.7.22 8.03 8.0.3
mysql5722_mroonga802 5.7.22 8.02 8.0.2
mysql5721_mroonga801 5.7.21 8.01 8.0.1
mysql5721_mroonga800 5.7.21 8.00 8.0.0
mysql5721_mroonga711 5.7.21 7.11 7.1.1
mysql5720_mroonga710 5.7.20 7.10 7.1.0
mysql5720_mroonga709 5.7.20 7.09 7.0.9
mysql5720_mroonga708 5.7.20 7.08 7.0.8
mysql5719_mroonga707 5.7.19 7.07 7.0.7
mysql5719_mroonga706 5.7.19 7.06 7.0.6
mysql5719_mroonga705 5.7.19 7.05 7.0.5
mysql5718_mroonga704 5.7.18 7.04 7.0.4
mysql5718_mroonga703 5.7.18 7.03 7.0.3
mysql5718_mroonga702 5.7.18 7.02 7.0.2
mysql5717_mroonga701 5.7.17 7.01 7.0.1
mysql5717_mroonga700 5.7.17 7.00 7.0.0
mysql5717_mroonga613 5.7.17 6.13 6.1.5
mysql5716_mroonga611 5.7.16 6.11 6.1.1
mysql5716_mroonga610 5.7.16 6.10 6.1.0
mysql5716_mroonga609 5.7.16 6.09 6.0.9
mysql5715_mroonga608 5.7.15 6.08 6.0.8
mysql5714_mroonga607 5.7.14 6.07 6.0.7
mysql5713_mroonga606 5.7.13 6.06 6.0.5
mysql5713_mroonga605 5.7.13 6.05 6.0.5
mysql5713_mroonga603 5.7.13 6.03 6.0.4
mysql5712_mroonga602 5.7.12 6.02 6.0.2
mysql5711_mroonga601 5.7.11 6.01 6.0.1
mysql5711_mroonga600 5.7.11 6.00 6.0.0
mysql5711_mroonga512 5.7.11 5.12 5.1.2
mysql5710_mroonga511 5.7.10 5.11 5.1.1
mysql5710_mroonga510 5.7.10 5.10 5.1.0
mysql579_mroonga509 5.7.9 5.09 5.0.9

For MySQL 5.6

EOL

tag MySQL Mroonga Groonga
mysql56-latest 5.6.50 10.10 10.1.0
mysql5650_mroonga1010 5.6.50 10.10 10.1.0
mysql5647_mroonga1001 5.6.47 10.01 10.0.1
mysql5647_mroonga912 5.6.47 9.12 9.1.2
mysql5646_mroonga909 5.6.46 9.09 9.0.9
mysql5645_mroonga907 5.6.45 9.07 9.0.7
mysql5645_mroonga905 5.6.45 9.05 9.0.5
mysql5644_mroonga904 5.6.44 9.04 9.0.4
mysql5644_mroonga903 5.6.44 9.03 9.0.3
mysql5644_mroonga901 5.6.44 9.01 9.0.2
mysql5643_mroonga900 5.6.43 9.00 9.0.0
mysql5642_mroonga809 5.6.42 8.09 8.0.9
mysql5641_mroonga807 5.6.41 8.07 8.0.7
mysql5641_mroonga806 5.6.41 8.06 8.0.6
mysql5640_mroonga803 5.6.40 8.03 8.0.3
mysql5640_mroonga802 5.6.40 8.02 8.0.2
mysql5639_mroonga801 5.6.39 8.01 8.0.1
mysql5639_mroonga800 5.6.39 8.00 8.0.0
mysql5639_mroonga711 5.6.39 7.11 7.1.1
mysql5638_mroonga710 5.6.38 7.10 7.1.0
mysql5638_mroonga709 5.6.38 7.09 7.0.9
mysql5638_mroonga708 5.6.38 7.08 7.0.8
mysql5637_mroonga707 5.6.37 7.07 7.0.7
mysql5637_mroonga706 5.6.37 7.06 7.0.6
mysql5637_mroonga705 5.6.37 7.05 7.0.5
mysql5636_mroonga704 5.6.36 7.04 7.0.4
mysql5636_mroonga703 5.6.36 7.03 7.0.3
mysql5636_mroonga702 5.6.36 7.02 7.0.2
mysql5635_mroonga701 5.6.35 7.01 7.0.1
mysql5635_mroonga700 5.6.35 7.00 7.0.0
mysql5635_mroonga613 5.6.35 6.13 6.1.5
mysql5635_mroonga611 5.6.35 6.11 6.1.1
mysql5634_mroonga610 5.6.34 6.10 6.1.0
mysql5634_mroonga609 5.6.34 6.09 6.0.9
mysql5633_mroonga608 5.6.33 6.08 6.0.8
mysql5632_mroonga607 5.6.32 6.07 6.0.7
mysql5631_mroonga606 5.6.31 6.06 6.0.5
mysql5631_mroonga605 5.6.31 6.05 6.0.5
mysql5631_mroonga603 5.6.31 6.03 6.0.4
mysql5630_mroonga602 5.6.30 6.02 6.0.2
mysql5629_mroonga601 5.6.29 6.01 6.0.1
mysql5629_mroonga600 5.6.29 6.00 6.0.0
mysql5628_mroonga512 5.6.28 5.12 5.1.2
mysql5628_mroonga511 5.6.28 5.11 5.1.1
mysql5628_mroonga510 5.6.28 5.10 5.1.0
mysql5627_mroonga509 5.6.27 5.09 5.0.9
mysql5627_mroonga508 5.6.27 5.08 5.0.8
mysql5626_mroonga506 5.6.26 5.06 5.0.6
mysql5623_mroonga410 5.6.23 4.10 4.1.1

How to build Mroonga image

Dockerfiles are located in each build context. For example, Dockerfile for MySQL 8.0 and Mroonga is under the mysql-8.0 directory.

$ git clone https://github.com/mroonga/docker mroonga_docker
$ cd mroonga_docker
$ sudo docker image build -t mysql80-mroonga mysql-8.0

How to test

You can test that the image was built as expected with test.sh. The arguments are the build context and the image name.

$ git clone https://github.com/mroonga/docker mroonga_docker
$ cd mroonga_docker
$ ./test.sh mysql-8.0 mysql80-mroonga

How to release

$ ./update.sh ${MYSQL_VERSION} ${MROONGA_VERSION} ${GROONGA_VERSION}
(./update.sh 8.0.30 12.06 12.0.6)
$ git push
$ git push --tags

Contribution

  • Patches welcome both test-script and Dockerfile.