Theoretically speaking, yes, you can. However, we don't recommend it for the following reasons:
- You will have to install it on a mounted disk, which is not that big of a problem. This is because Xeams stores every configuration file off of the $INSTALL_DIR folder, and you will need an expanding disk rather than a fixed disk for that location.
- Docker creates a NAT-based network, and every email coming into Xeams will appear to come from a single IP address. This reduces spam filtering capabilities by 60% because every IP-based filtering rule becomes ineffective.
If you decide to proceed, start with a base Ubuntu instance, mount drives, and then install it on the mounted drive.