You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [LinuxServer.io](https://linuxserver.io) team brings you another quality container release featuring easy user mapping and community support. Be sure to checkout our [forums](https://forum.linuxserver.io) or for real-time support our [IRC](https://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`.
3
+
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring auto-update on startup, easy user mapping and community support. Find us for support at:
*[IRC](https://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`
6
+
*[Podcast](https://www.linuxserver.io/index.php/category/podcast/) covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!
4
7
5
8
# linuxserver/mariadb
6
9
@@ -27,13 +30,16 @@ linuxserver/mariadb
27
30
*`-e PGID` for GroupID - see below for explanation
28
31
*`-e PUID` for UserID - see below for explanation
29
32
30
-
It is based on phusion-baseimage with ssh removed, for shell access whilst the container is running do `docker exec -it mariadb /bin/bash`.
31
-
32
33
### User / Group Identifiers
33
34
34
-
**TL;DR** - The `PGID`and `PUID` values set the user / group you'd like your container to 'run as' to the host OS. This can be a user you've created or even root (not recommended).
35
+
Sometimes when using data volumes (`-v` flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user `PUID` and group `PGID`. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™.
35
36
36
-
Part of what makes our containers work so well is by allowing you to specify your own `PUID` and `PGID`. This avoids nasty permissions errors with relation to data volumes (`-v` flags). When an application is installed on the host OS it is normally added to the common group called users, Docker apps due to the nature of the technology can't be added to this group. So we added this feature to let you easily choose when running your containers.
37
+
In this instance `PUID=1001` and `PGID=1001`. To find yours use `id user` as below:
@@ -45,13 +51,16 @@ The container also has mysqltuner included which can either be run from within t
45
51
46
52
47
53
48
-
## Logs
54
+
## Logs and Shell
49
55
50
-
* To monitor the logs of the container in realtime `docker logs -f mariadb`.
56
+
* Shell access whilst the container is running: `docker exec -it mariadb /bin/bash`
57
+
* To monitor the logs of the container in realtime: `docker logs -f mariadb`
51
58
52
59
53
60
54
61
## Versions
62
+
+**09.03.2016:** Change to use custom.cnf over my.cnf in /config. Restructured init files to change config options on startup, rather than in the dockerfile.
55
63
+**26.01.2016:** Change user of mysqld_safe script to abc, better unclean shutdown handling on restart.
56
64
+**23.12.2015:** Remove autoupdating, between some version updates the container breaks
0 commit comments