Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix container update process in mqdockerup #425

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Conversation

MichelFR
Copy link
Owner

@MichelFR MichelFR commented Feb 13, 2025

Fixes #404

Add error handling and container restart logic in DockerService.updateContainer function.

  • Add try-catch block to handle errors during container restart.
  • Log errors if container restart fails.
  • Ensure container is restarted with the new image.
  • Remove old image after container restart.
  • Publish final 100% progress message after successful container restart.

For more details, open the Copilot Workspace session.

Fixes #404

Add error handling and container restart logic in DockerService.updateContainer function.

* Add try-catch block to handle errors during container restart.
* Log errors if container restart fails.
* Ensure container is restarted with the new image.
* Remove old image after container restart.
* Publish final 100% progress message after successful container restart.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/MichelFR/MqDockerUp/issues/404?shareId=XXXX-XXXX-XXXX-XXXX).
@MichelFR MichelFR enabled auto-merge February 13, 2025 11:52
@MichelFR MichelFR merged commit 0c7cb17 into main Feb 13, 2025
4 checks passed
@MichelFR MichelFR deleted the fix-container-update branch February 13, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mqdockerup stops after image is pulled
1 participant