Add --remove-orphans to the rebuild script #983

Closed
opened 2026-05-18 07:11:32 +00:00 by b24johka · 4 comments
Collaborator

Old containers which are no longer in the compose.yaml will stay alive until till command is being run.
This was identified in the issue #959

Old containers which are no longer in the compose.yaml will stay alive until till command is being run. This was identified in the issue https://git.webug.se/Andras/BoundlessFlowCampus2K/issues/959
Author
Collaborator

For example RoomBookingMockupApi has been alive for 10 days while the others was restarted 2 days ago.
The container RoomBookingMockupApi was removed from the project 1 week ago.

image

For example **RoomBookingMockupApi** has been alive for 10 days while the others was restarted 2 days ago. The container RoomBookingMockupApi was removed from the project 1 week ago. ![image](/attachments/b9162316-be31-43dd-bf3c-b92bfeb56b63)
Author
Collaborator

The command: docker compose down --volumes --remove-orphans will remove all containers including undefined containers in the compose.yaml file.

image

The command: **docker compose down --volumes --remove-orphans** will remove all containers including undefined containers in the compose.yaml file. ![image](/attachments/31630e11-b382-4dc5-abf9-dfdb7f81e671)
Author
Collaborator
https://git.webug.se/Andras/BoundlessFlowCampus2K/pulls/984
b24johka added reference Add---remove-orphans-to-the-rebuild-script-#983 2026-05-18 07:44:50 +00:00
Collaborator

Merged!

Merged!
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K#983
No description provided.