Saving config.json on Docker instance

Summary
I’m trying to set up Welcomebot on my Docker instance and every time I edit the configuration with mmctl, it says it applied but if I show the config, it doesn’t reflect any changes.

Steps to reproduce
Running 10.3.1 from the Docker deployment directions. mmctl config edit, make changes, close, and it says “Config updated successfully”. mmctl config show or edit afterwards don’t show any of the applied edits.

Where am I going wrong here? The same issue happens if I stop the instance, edit the file on the docker host, and restart the service. Should I be making changes to the config.json in a different way given it’s a Docker instance?

Containers are ephemeral. You could have config.json live in a writable volume, or apply all configs as environment variables. Environment variables - Mattermost documentation

1 Like