mattermost/mattermost-docker

How to run mmctl?

caugner opened this issue · 1 comments

We're running Mattermost using this mattermost-docker repository.

Now I would like to use the mmctl command line tool.

However exec app mmctl gives me a Error: cannot read user credentials warning:

$ docker-compose exec app mmctl team list
Error: cannot read user credentials, maybe you need to use login first: stat /mattermost/.mmctl: no such file or directory

What is the recommended way to invoke mmctl with mattermost-docker?

Solution: docker-compose exec app mattermost