diff options
author | Paulo Erichsen <paulo.h.erichsen@gmail.com> | 2022-04-25 00:38:26 +0300 |
---|---|---|
committer | Paulo Erichsen <paulo.h.erichsen@gmail.com> | 2022-04-25 00:47:31 +0300 |
commit | adbdf14ba60062b5b695285d8b3ecd1ddb18fa8e (patch) | |
tree | aa2c933b5278ca2032321ec042f8dc593074b905 /README.md | |
parent | aae451aae257fc66688a46395516e2256dab2f73 (diff) |
BUILD(server): allow users to specify the UID/GID for the murmur user
the the docker image that is built by default uses murmur user to run
the server. When users use bind mount volumes, the host system is
expected to match the permissions (UID/GID) of the created murmur user
or else they will get permission errors
this change allows users who build the docker image to specify which
user id and group id to be used in the docker image
Closes #5634
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,6 +1,6 @@ ![Mumble screenshot](screenshots/Mumble.png) -# Mumble - Open Source voice-chat software +# Mumble - Open Source voice-chat software [![https://www.mumble.info](https://img.shields.io/badge/Website-https%3A%2F%2Fwww.mumble.info-blue?style=for-the-badge)](https://www.mumble.info) @@ -120,11 +120,16 @@ murmurd [-supw <password>] [-ini <inifile>] [-fg] [v] #### Build and run from Docker On recent Docker versions you can build images directly from sources on GitHub: -``` +```bash docker build --pull -t mumble-server github.com/mumble-voip/mumble#master ``` Example `--pull`s each time to check for updated base image, then downloads and builds `master` branch. +You can also specify user id (UID) and group id (GID) for the *murmur* user in the image. This allows users who use bind mount volumes to use the same UID/GID in the container as in the host: +```bash +docker build --pull -t mumble-server --build-arg UID=1234 --build-arg GID=1234 github.com/mumble-voip/mumble#master +``` + ### OpenGL Overlay The OpenGL overlay works by intercepting the call to switch buffers, and just |