Browse Source

update

master
Markus Bergholz 2 years ago
parent
commit
7475b89d2e
  1. 0
      Dockerfile
  2. 0
      Dockerfile.10.2
  3. 0
      Dockerfile.10.3
  4. 16
      README.md
  5. 0
      start.sh

0
10.4/Dockerfile → Dockerfile

0
10.4/Dockerfile.10.2 → Dockerfile.10.2

0
10.4/Dockerfile.10.3 → Dockerfile.10.3

16
10.4/README.md → README.md

@ -1,8 +1,17 @@
Build with `docker build -t mariadb:alpine-10.4 .`
# Usage|
Start with `docker run -d -p 3306:3306 --name mariadb mariadb:alpine-10.4`
2020-04-09
Or with persistence shared folder with host: `docker run -ti --name mariadb -v $(pwd)/test:/var/lib/mysql/ -p 3306:3306 mariadb:alpine-10.4`
| verion | image |
| --- | --- |
| 10.4.12 | `registry.gitlab.com/markuman/mariadb:10.4` |
| 10.3.22 | `registry.gitlab.com/markuman/mariadb:10.3` |
| 10.2.31 | `registry.gitlab.com/markuman/mariadb:10.2` |
Start with `docker run -d -p 3306:3306 --name mariadb registry.gitlab.com/markuman/mariadb:10.4`
Or with persistence shared folder with host: `docker run -ti --name mariadb -v $(pwd)/test:/var/lib/mysql/ -p 3306:3306 registry.gitlab.com/markuman/mariadb:10.4`
Init with
@ -13,6 +22,7 @@ docker exec -ti mariadb mysql -e "grant all privileges on *.* to 'm'@'%' with gr
# option
to enable slow_query_log, use `-e SLOW_LOG=true`.
Log location is `/var/lib/mysql/slow_query.log`.

0
10.4/start.sh → start.sh

Loading…
Cancel
Save