Skip to content

Conversation

@bekmuradov
Copy link
Contributor

This update ensures Docker-based plugin services are installed and restarted idempotently.
It prevents container name conflicts during re-imports by cleaning up existing containers
within the plugin’s own compose scope before rebuild and start.

  • Added docker compose down --remove-orphans before build/start
  • Appended --force-recreate to start command to ensure clean container recreation
  • Prevents container name conflicts when re-importing plugins multiple times
  • Keeps other running plugin containers intact by scoping to per-plugin directory

Fixes #136
Closes #136

…name conflicts

- Added `docker compose down --remove-orphans` before build/start
- Appended `--force-recreate` to start command to ensure clean container recreation
- Prevents container name conflicts when re-importing plugins multiple times
- Keeps other running plugin containers intact by scoping to per-plugin directory
@DJJones66 DJJones66 merged commit 3935b8a into main Oct 14, 2025
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.

[Bug] Plugin re-installation fails due to existing Docker container name conflicts

3 participants