大体上来讲是这样@OpenProject Community
2016-11-20 17:08:23,386 CRIT Supervisor running as root (no user in config file)
2016-11-20 17:08:23,386 WARN Included extra file “/etc/supervisor/conf.d/supervisord.conf” during parsing
2016-11-20 17:08:23,420 INFO RPC interface ‘supervisor’ initialized
2016-11-20 17:08:23,420 CRIT Server ‘unix_http_server’ running without any HTTP authentication checking
2016-11-20 17:08:23,421 INFO supervisord started with pid 1
2016-11-20 17:08:24,424 INFO spawned: ‘postgres’ with pid 88
2016-11-20 17:08:24,426 INFO spawned: ‘apache2’ with pid 89
2016-11-20 17:08:24,429 INFO spawned: ‘web’ with pid 90
2016-11-20 17:08:24,433 INFO spawned: ‘worker’ with pid 91
2016-11-20 17:08:24,436 INFO spawned: ‘postfix’ with pid 92
2016-11-20 17:08:24,439 INFO spawned: ‘cron’ with pid 93
2016-11-20 17:08:24,441 INFO spawned: ‘memcached’ with pid 94
2016-11-20 17:08:24,462 INFO success: postfix entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2016-11-20 17:08:24,586 INFO exited: apache2 (exit status 0; not expected)
2016-11-20 17:08:24,875 INFO exited: postfix (exit status 0; expected)
2016-11-20 17:08:25,877 INFO success: postgres entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-11-20 17:08:25,880 INFO spawned: ‘apache2’ with pid 200
2016-11-20 17:08:25,880 INFO success: web entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-11-20 17:08:25,881 INFO success: worker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-11-20 17:08:25,881 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-11-20 17:08:25,881 INFO success: memcached entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-11-20 17:08:25,957 INFO exited: apache2 (exit status 0; not expected)
2016-11-20 17:08:28,092 INFO spawned: ‘apache2’ with pid 261
2016-11-20 17:08:28,181 INFO exited: apache2 (exit status 0; not expected)
2016-11-20 17:08:31,200 INFO spawned: ‘apache2’ with pid 266
2016-11-20 17:08:31,276 INFO exited: apache2 (exit status 0; not expected)
2016-11-20 17:08:31,921 INFO gave up: apache2 entered FATAL state, too many start retries too quickly
简单来讲就是apache服务没有起来,在创建docker 容器的时候加上参数 --restart always
就可以每次start容器都和重启一样,可以减少出现apache启动冲突的概率