Open zoobab opened 10 years ago
Thank you for reporting this.
In https://github.com/shoichikaji/docker-monit/commit/beb0a301f8acf963a5e8ac7c691b4b3935cba4c2, I changed /etc/apt/sources.list so that apt-get select a mirror close to you.
BTW this docker image has some problems. eg: there is no init process which reaps zombie processes. I recently noticed https://github.com/phusion/baseimage-docker is much better.
Thanks, it seems to fix the issue.
About the missing init, do you think it is the source of the defuncts processes?
BTW I have those defuncts problems with other distros as well, so that might be monit related.
Quote from https://github.com/phusion/baseimage-docker:
According to the Unix process model, the init process -- PID 1 -- inherits all orphaned child processes and must reap them. Most Docker containers do not have an init process that does this correctly, and as a result their containers become filled with zombie processes over time.
So if we run monit
as the PID 1 process, monit
must have a responsibility for reaping orphaned child processes. But monit
doesn't have such a feature.
I recommend you to use baseimage-docker instead.
Mysql fails to inszall, probably because the mirrors moved:
See also for a better copy/paste:
https://pastee.org/pqpkm
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: mysql-server : Depends: mysql-server-5.5 but it is not going to be installed : Unable to correct problems, you have held broken packages. 2014/05/21 16:43:21 build: The command [/bin/sh -c cat /root/debconf-set-selections | debconf-set-selections; apt-get install mysql-server -y --force-yes] returned a non-zero code: 100 zsh: exit 1 docker build -t TAG .