The instructions on the Local Machine Setup using Docker page, to be used for quick mattermost evaluation on a docker host, are not working.
Steps to reproduce
On docker host, run the specified command (ie “docker run --name mattermost-preview -d --publish 8065:8065 --add-host dockerhost:127.0.0.1 mattermost/mattermost-preview”).
A mattermost service should have been running on my host on port 8065.
The container had exited with error code 1. Looking in the logs, I have the following (trying to strip out irrelevant messages):
2021-01-11 21:14:51+00:00 [Note] [Entrypoint]: Creating database mattermost_test 2021-01-11 21:14:51+00:00 [Note] [Entrypoint]: Creating user mmuser 2021-01-11 21:14:51+00:00 [Note] [Entrypoint]: Giving user mmuser access to schema mattermost_test 2021-01-11 21:14:51+00:00 [Note] [Entrypoint]: Stopping temporary server 2021-01-11T21:14:51.810197Z 0 [Note] Giving 0 client threads a chance to die gracefully [...] 2021-01-11T21:14:53.625329Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12617575 [...] 2021-01-11 21:14:53+00:00 [Note] [Entrypoint]: Temporary server stopped 2021-01-11 21:14:53+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up. [...] 2021-01-11T21:14:53.994402Z 0 [Note] mysqld (mysqld 5.7.32) starting as process 7 ... [...] 2021-01-11T21:14:54.120327Z 0 [Note] mysqld: ready for connections. Version: '5.7.32' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL) Updating CA certificates Starting platform Error: failed to load configuration: unable to load on store creation: parsing error at line 109, character 42: json: cannot unmarshal string into Go struct field TeamSettings.TeamSettings.ExperimentalDefaultChannels of type string Usage: mattermost [flags] mattermost [command] Available Commands: channel Management of channels [...]