Official Docs
Change into the Mailcow docker directory
cd /opt/mailcow-dockerized
Run the update script
./update.sh