root@mail:/opt/mailcow-dockerized# docker compose up -d –build
[+] Running 18/19
✔ Network mailcowdockerized_mailcow-network Created 0.1s
✔ Container mailcowdockerized-dockerapi-mailcow-1 Started 1.2s
✔ Container mailcowdockerized-sogo-mailcow-1 Started 1.5s
✔ Container mailcowdockerized-olefy-mailcow-1 Started 1.2s
✔ Container mailcowdockerized-unbound-mailcow-1 Healthy 31.7s
✔ Container mailcowdockerized-memcached-mailcow-1 Started 1.5s
✔ Container mailcowdockerized-netfilter-mailcow-1 Started 1.1s
✔ Container mailcowdockerized-redis-mailcow-1 Started 1.5s
✔ Container mailcowdockerized-mysql-mailcow-1 Started 1.6s
✔ Container mailcowdockerized-clamd-mailcow-1 Started 32.0s
✔ Container mailcowdockerized-php-fpm-mailcow-1 Started 1.8s
✔ Container mailcowdockerized-dovecot-mailcow-1 Started 2.3s
✔ Container mailcowdockerized-postfix-mailcow-1 Started 32.1s
✔ Container mailcowdockerized-rspamd-mailcow-1 Started 32.1s
✔ Container mailcowdockerized-ofelia-mailcow-1 Started 2.5s
⠴ Container mailcowdockerized-nginx-mailcow-1 Starting 32.4s
✔ Container mailcowdockerized-acme-mailcow-1 Created 0.1s
✔ Container mailcowdockerized-watchdog-mailcow-1 Created 0.1s
✔ Container mailcowdockerized-ipv6nat-mailcow-1 Created 0.0s
Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint mailcowdockerized-nginx-mailcow-1 (6a7af234c4ceed12b7d09959b26d0481ec7e3dfd1300cb243247778508939d1d): failed to bind host port for 0.0.0.0:80:172.22.1.10:80/tcp: address already in use
I am getting the above error:
I’m running a website on nginx on port 80, but when I try to run Mailcow on the same server (which is quite powerful), I’m getting the error: “failed to bind host port for 0.0.0.0:80:172.22.1.10:80/tcp: address already in use.”