Add always-pull option to Duplicate/Edit container modal.
Release rolling / release (push) Has been cancelled

Match Add container so users can reuse a local image when duplicating.
This commit is contained in:
Raven Scott
2026-07-15 14:40:46 -04:00
parent b185ea7a55
commit 5e13fc0919
4 changed files with 21 additions and 1 deletions
+2
View File
@@ -44,6 +44,8 @@ What PearDock can do today, mapped to code and protocol surfaces.
**Add container** (`#add-container-view`, `libs/addContainer.js`) is a blank create form separate from **Deploy** templates: name, image, **Always pull the image**, ports (manual + publish-all-exposed), auto-remove, and advanced sections (command, volumes, network, env, labels, restart, runtime/resources). Submit uses `deployContainer` via the job tray.
**Duplicate / Edit** (`#duplicateModal`, `libs/templateDeploy.js`) reuses the same deploy path with a full config editor (name, image, **Always pull the image**, ports, volumes, env, resources, security, health, etc.). When always-pull is off, the server uses a local image if present.
Deploy templates form remains under the Deploy tab for catalog-driven deploys.
---