anchor.diff:  # Set volume for systemd
   VOLUME [ "/sys/fs/cgroup" ]
   
  -# Open Ports: 
  -# Apache: 80/tcp, 443/tcp Postfix: 25/tcp, 587/tcp 
  +# Open Ports:
  +# Apache: 80/tcp, 443/tcp Postfix: 25/tcp, 587/tcp
   # Dovecot: 110/tcp, 143/tcp, 993/tcp, 995/tcp
   EXPOSE 80 443 25 587 110 143 993 995
   
  
positive.code: # Connect bash:
  # docker exec -it container_name bash
  
  
  # Pull base image
  FROM zokeber/centos
  
  # Maintener
  MAINTAINER Daniel Lopez Monagas <zokeber@gmail.com>
  
  # Env
  ENV IREDMAIL_VERSION 0.9.2
  ENV container docker
  
  # Install packages necessary:
  RUN yum update -y; \
      yum install -y tar bzip2 hostname rsyslog
  
  # Install packages neccesary to install iredmail server
  RUN yum install -y postfix openldap openldap-clients openldap-servers maria mariadb-server mod_ldap php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt nginx php-fpm cluebringer dovecot dovecot-pigeonhole dovecot-mysql clamav clamav-update clamav-server clamav-server-systemd amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF unrar
  
  
  # Get iredmail, extract and remove tar
  RUN mkdir -p /opt/iredmail; \
  
negative.code: # iRedmail Dockerfile in CentOS 7
  #
  # Build:
  # docker build -t burkeazbill/iredmail:latest .
  #
  # Create:
  # docker create --privileged -it --restart=always -v /srv/iredmail/vmail:var/vmail -p 80:80 -p 443:443 -p 25:25 -p 587:587 -p 110:110 -p 143:143 -p 993:993 -p 995:995 -h your_domain.com --name container_name burkeazbill/iredmail
  #
  # Start:
  # docker start container_name
  