Running mattermost in docker

Ive set this up a few times and the permissions issues get me every time
For reference this seems to be a winning recipe

git clone
cd mattermost-docker
Edit the docker-compose.yml and change the UID and the GID to your current running user
IMPORTANT! docker-compose build to build the new image
mkdir -pv ./volumes/app/mattermost/{data,logs,config,plugins,client-
You dont need to set the file/folder ownerships with chown now, as you used your current user
docker-compose up


Original article