babim / docker-zimbra

Zimbra 8.7 for docker
MIT License
6 stars 3 forks source link

Docker not starting at all #2

Closed julianxhokaxhiu closed 7 years ago

julianxhokaxhiu commented 8 years ago

When I just copy paste your docker run command from the README, I get this:

~ # docker run -p 25:25 -p 80:80 -p 456:456 -p 587:587 -p 110:110 -p 143:143 -p 993:993 -p 995:995 -p 443:443 -p 8080:8080 -p 8443:8443 -p 7071:7071 -p 9071:9071 -h zimbra86-docker.zimbra.io --dns 127.0.0.1 --dns 8.8.8.8 -i -t -e PASSWORD=Zimbra2015 -e MailSSLPort=443 -e AdminPort=7071 -e AdminURL=/zimbraAdmin babim/zimbra

WARNING: Localhost DNS setting (--dns=127.0.0.1) may fail in containers.
Unable to find image 'babim/zimbra:latest' locally
latest: Pulling from babim/zimbra

6ffe5d2d6a97: Pull complete
f4e00f994fd4: Pull complete
e99f3d1fc87b: Pull complete
a3ed95caeb02: Pull complete
ededd75b6753: Pull complete
1ddde157dd31: Pull complete
d4bcf244b29e: Pull complete
e4cb3752f7b7: Pull complete
7a0c7daa840f: Pull complete
d36747d5d7f8: Pull complete
ce44cd3893ca: Pull complete
e577951aabaa: Pull complete
906a634a5d36: Pull complete
d38ced782adc: Pull complete
7d0ca780c53c: Pull complete
9c286c551e0e: Pull complete
1069cd403c6d: Pull complete
Digest: sha256:fa9f8800baa07d97c941afc605735267a0ff777313e40ead59b2cd6462f356c1
Status: Downloaded newer image for babim/zimbra:latest
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/startup.sh...
 * Starting OpenBSD Secure Shell server sshd                                                                                                                                                                                                                                   Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
                                                                                                                                                                                                                                                                        [ OK ]
Installing DNS Server
Configuring DNS Server
 * Stopping domain name service... bind9                                                                                                                                                                                                                                       rndc: connect failed: 127.0.0.1#953: connection refused
                                                                                                                                                                                                                                                                        [ OK ]
 * Starting domain name service... bind9                                                                                                                                                                                                                                [ OK ]
Download and install Zimbra Collaboration dependencies
Reading package lists... Done
Building dependency tree
Reading state information... Done
sudo is already the newest version.
libperl5.18 is already the newest version.
libaio1 is already the newest version.
sqlite3 is already the newest version.
resolvconf is already the newest version.
netcat-openbsd is already the newest version.
sysstat is already the newest version.
libexpat1 is already the newest version.
libidn11 is already the newest version.
libpcre3 is already the newest version.
unzip is already the newest version.
pax is already the newest version.
libgmp10 is already the newest version.
libstdc++6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Downloading Zimbra Collaboration 8.6
cp: cannot stat ‘/install/zcs*.tgz’: No such file or directory
tar (child): zcs-*.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Installing Zimbra Collaboration just the Software
/install.sh: 197: cd: can't cd to /tmp/zcs/zcs-*
Installing Zimbra Collaboration injecting the configuration
/install.sh: 199: /install.sh: /opt/zimbra/libexec/zmsetup.pl: not found
/install.sh: 201: /install.sh: [[: not found
/install.sh: 205: /install.sh: [[: not found
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 127
Apr 25 19:34:22 zimbra86-docker syslog-ng[132]: syslog-ng starting up; version='3.5.3'

Any idea what is wrong?

babim commented 8 years ago

yes. this is not wrong. Because I download install package to my HDD and map to container /install/ script install.sh will check /install/ and extract, run install. But at your computer not have install package downloaded. need uncomment line: "wget ...." to download zimbra package from zimbra website. I fixed install.sh script. If not have zimbra package in /install will wget and no need uncomment manual. Thanks