@@ -180,7 +180,7 @@ export function registerContainerHandlers(session) {
|
||||
})
|
||||
|
||||
/**
|
||||
* Portainer-style image update check:
|
||||
* style image update check:
|
||||
* compare local RepoDigest(s) to remote registry manifest digest for the same tag.
|
||||
*/
|
||||
session.respond('checkImageUpdates', async (args = {}) => {
|
||||
@@ -643,7 +643,7 @@ export function registerContainerHandlers(session) {
|
||||
})
|
||||
|
||||
/**
|
||||
* Recreate container with the same config (Portainer-style).
|
||||
* Recreate container with the same config (style).
|
||||
* Stops/removes the old container, creates a new one with the same name, starts if it was running.
|
||||
*/
|
||||
session.respond('recreateContainer', async (args) => {
|
||||
|
||||
@@ -64,7 +64,7 @@ export function registerSystemHandlers(session) {
|
||||
})
|
||||
|
||||
/**
|
||||
* Docker system prune (Portainer-style "clean unused data").
|
||||
* Docker system prune (style "clean unused data").
|
||||
* @param {{ volumes?: boolean, all?: boolean }} args
|
||||
*/
|
||||
session.respond('systemPrune', async (args = {}) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Image update detection (Portainer-style).
|
||||
* Image update detection (style).
|
||||
*
|
||||
* Compares the first local RepoDigest for an image:tag with the remote
|
||||
* registry manifest digest. Differing digests → update available.
|
||||
|
||||
Reference in New Issue
Block a user