Articles with the tag:
Help Center
Mail Server for Docker

Removing Mail Server for Docker from your computer

Mail Serverv.1.6 Mail Server changelog

Version 1.6.25

Release date: 07/03/2017


  • Updated OpenSSL to the latest version (1.0.2).

Version 1.6.21

Release date: 04/26/2017


  • Fixed the issue when the amavisd-new interface could not start without the properly configured IPv6.

Version 1.6.20

Release date: 12/13/2016

Connection Settings

  • Added page to the Settings for the integration of Community Server (Windows version) with Mail Server.

Installation Script

  • Fixed the error shown if the mail domain is not specified, now Mail Server will not be installed if this is the case.

Version 1.6.7

Release date: 06/22/2016


  • Removed version from the iRedMail folder;
  • iRedMail completed with commits from v.0.9.2;
  • Deleted unused packages from iRedMail;
  • Added the SpamAssassin setup with initial bayes_tokens.


  • Fixed the incorrect MySQL server name in the config;
  • Fixed the issue with the config section duplication when starting the Docker container;
  • Fixed the issue with sending mail to a group/alias address;
  • Fixed the startup API issue.


  • Fixed logging during the installation.


  • Fixed the fail2ban and iptables issue when starting Docker in a network mode;
  • Fixed the issue with Mail Server on an external physical server.

Version 1.6.0

Release date: 03/09/2016


  • Redesigned Mail Server settings page.

Version 1.5.0

Release date: 04/20/2015

Mail Server

  • Mail Server for Docker first release.


If you run Mail Server for Docker on your computer there might be some cases when you need to completely remove it from your computer or simply delete the current image when a new version is released, otherwise Docker will run the container from the already downloaded image.

This guide will show you how to remove Mail Server Docker version from your machine.

Removing Mail Server container

First you need to stop the Mail Server Docker container. This can be done using the Docker stop command:

sudo docker stop mailserver

To remove the stopped container use the following command:

sudo docker rm mailserver
You need to have named the Mail Server Docker container using the Docker --name command during the installation. If you haven't done this, Docker will assign a name to the container by itself. Then the names of all the containers present in the system can be found using the command:
sudo docker ps -a

You can also remove all the Docker containers from your system using the following command:

sudo docker rm -f $(sudo docker ps -aq)
Warning This command will remove ALL the containers immediately. Please do not use it if you have other containers running that you do not want to remove.

Deleting Mail Server image

Now that the Mail Server container is deleted, you can delete the Mail Server image. You can also need to delete the image in case you want to upgrade your Mail Server for Docker installation to a new version. This can be done using the command:

sudo docker rmi onlyoffice/mailserver

If you are sure that you do not have any other images on your system or do not need them any longer, you can delete all the existing Docker images using the single command:

sudo docker rmi -f $(sudo docker images -aq)
Warning This command will delete ALL the images immediately. Please do not use it if you have other Docker images that you do not want to be deleted.
Download Host on your own server Available for Docker,
Windows, Linux and virtual machines
You Might Also Like This: