Zoom Logo

EdgeX: Systems Mgmt Working Group - Weekly Call - Shared screen with speaker view
Lenny Goodell (Intel)
34:26
docker stop: Stop a running container (send SIGTERM, and then SIGKILL after grace period) [...] The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL. [emphasis mine]docker kill: Kill a running container (send SIGKILL, or specified signal) [...] The main process inside the container will be sent SIGKILL, or any signal specified with option --signal. [emphasis mine]
Akram Ahmad (Dell)
34:58
Thanks for sharing, Lenny.
Trevor Conn
35:50
This will need to be extended to listen for the Kill signal then
Trevor Conn
35:51
func listenForInterrupt(errChan chan error) {go func() {c := make(chan os.Signal)signal.Notify(c, os.Interrupt)errChan <- fmt.Errorf("%s", <-c)}()}
Akram Ahmad (Dell)
38:25
Cool - Thanks, Trevor.
Akram Ahmad (Dell)
43:06
https://docs.edgexfoundry.org/Ch_SysMgmtAgent.html#examples-of-api-calls
Akram Ahmad (Dell)
43:11
etc.
Akram Ahmad (Dell)
44:04
https://docs.edgexfoundry.org/Ch-SystemManagement.html