Poweroff hook
#5269
Replies: 2 comments 10 replies
-
That's an interesting application! There are no poweroff hooks, although they'd be easy to add and a PR would be welcome. But you could easily add a post-stop hook that queried whether the ddev-ssh-agent was still running, for example, and if not, also stop your container. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm finalizing something that I believe you'll find interesting. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a poweroff hook?
Or does
post-stop
cover that?I have an addon I'm working on, which injects another global container, and I would like to stop and destroy it on poweroff.
Beta Was this translation helpful? Give feedback.
All reactions