I am trying to start the system in docker with many init and upstart services and I get this error.
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
All workarounds suggest making a hard link to / bin / true to disable this error. But I need these services to be controlled upstart to be able to restart, and to emit events for higher ones to work ...
Docker does not seem to support this, I am considering a rough hack of a script entry to run all services in /etc/rcX.d and track PID. This does not solve the problem of the absence of emissions from the upstart.
Any other ideas on how to run upstart processes in docker?
docker init upstart
Neil mcgill
source share