How to Install Mattermost via Docker on Ubuntu 23.04

Mattermost is a powerful, open-source messaging platform designed to revolutionize team communication and collaboration. With its robust features and flexible deployment options, Mattermost enables organizations to securely connect and engage their teams in real-time, whether they're working remotely or in the same office. "Master Your Messaging with Mattermost: Unleash Team Collaboration at its Finest!"


  • A system with Ubuntu 23.04 installed and running.

  • root access to the system.

  • Docker installed and running, for this, you can refer to one of our guides on installing the Docker.

Once you're all set, we'll proceed with Mattermost installation and configuration.

Install Mattermost

Once you have Docker, run the following command in a terminal window:

 docker run --name mattermost-preview -d --publish 8065:8065 mattermost/mattermost-preview

Configuring Mattermost

You can now access Mattermost by opening a web browser and navigating to You should see the Mattermost setup page, where you can create an admin account and configure your Mattermost instance.


Replace localhost with actual server IP address

Done! Now you have successfully installed Mattermost with Docker on Ubuntu 23.04.