You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Processes start on startup, but if the process dies for some reason, restarts are not currently managed - maybe due to system expecting whatever command it runs to represent the foreground process of your services. However, docker start returns as soon as the container is started, it doesn't latch onto the process, thus there is nothing for systemd to monitor.
After glancing over that, I think maybe my problem is that I'm using docker wrong. Maybe I should be using docker run to start a new container rather than stop/starting an existing container.
In order to do this, I'll have to find some way to communicate the env specific configuration data to the container. Currently this is copied into the container during deploy. The two approaches to this that come to mind are:
Do something like what we're doing in the deploy script to copy in the config on every execution of systemctl start biketag-api
Put the config in a volume and mount the volume as part of the docker/run.
Processes start on startup, but if the process dies for some reason, restarts are not currently managed - maybe due to system expecting whatever command it runs to represent the foreground process of your services. However,
docker start
returns as soon as the container is started, it doesn't latch onto the process, thus there is nothing for systemd to monitor.Maybe related:
coreos/fleet#940
The text was updated successfully, but these errors were encountered: