0022401: Handle systemd-driven projects
Migrated from: https://tracker.clearos.com/view.php?id=22401
Reported by: PBaldwin
If a Docker project uses systemd for controlling the service (e.g. ClearGLASS), the standard "docker-compose up/down" calls no longer work.
In addition, the standard Docker start/stop API calls (e.g. https://docs.docker.com/engine/api/v1.39/#operation/ContainerStart [^]) will need to be reviewed. There might be some unintended consequences, e.g. race conditions for containers with the restart flag.
The systemd implementation cripples the "docker-compose up/down" calls. The ClearOS API will need to be aware of this - 0022371