Skip to content

Recreate BitBetter containers before pruning images - #290

Open
Flol0 wants to merge 1 commit into
jakeswenson:masterfrom
Flol0:fix/recreate-bitbetter-before-prune
Open

Recreate BitBetter containers before pruning images#290
Flol0 wants to merge 1 commit into
jakeswenson:masterfrom
Flol0:fix/recreate-bitbetter-before-prune

Conversation

@Flol0

@Flol0 Flol0 commented Jul 30, 2026

Copy link
Copy Markdown

Problem

When BitBetter rebuilds images for the currently installed Bitwarden
version, bitwarden.sh update may report Update not needed.

The existing API and Identity containers then remain attached to the old
image IDs. As a result, the subsequent docker image prune -a can remove
the newly built images because no containers reference them yet.

Solution

When BitBetter images were rebuilt, force-recreate the api and identity
services before pruning unused images.

This ensures that the containers use the newly built images before
docker image prune -a runs.``

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.

1 participant