feat: schedule related images for cleanup when retiring containers
If the containers no longer exist and the images are unused, we should remove the images as well. Note that images may sometimes stick around for a little while, depending on the retire schedule and the wait time specified for the container. Closes #4104
This commit is contained in:
@@ -1914,7 +1914,7 @@ DOKKU_SCHEDULER="$1"; APP="$2"; CONTAINER_ID="$3";
|
||||
> Warning: The scheduler plugin trigger apis are under development and may change
|
||||
> between minor releases until the 1.0 release.
|
||||
|
||||
- Description: Allows scheduling retiring a local container
|
||||
- Description: Allows scheduling retiring a local container and any related images
|
||||
- Invoked by: `internally`
|
||||
- Arguments: `$APP $CONTAINER_ID`
|
||||
- Example:
|
||||
|
||||
Reference in New Issue
Block a user