mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 13:08:17 -05:00
prune all except setup
This commit is contained in:
parent
5aa7b64062
commit
b83b006cd8
@ -80,7 +80,8 @@ function Docker-Compose-Files {
|
||||
}
|
||||
|
||||
function Docker-Prune {
|
||||
docker image prune --force --filter="label=com.bitwarden.product=bitwarden"
|
||||
docker image prune --all --force --filter="label=com.bitwarden.product=bitwarden" `
|
||||
--filter="label!=com.bitwarden.project=setup"
|
||||
}
|
||||
|
||||
function Update-Lets-Encrypt {
|
||||
|
@ -123,7 +123,8 @@ function dockerComposeFiles() {
|
||||
}
|
||||
|
||||
function dockerPrune() {
|
||||
docker image prune --force --filter="label=com.bitwarden.product=bitwarden"
|
||||
docker image prune --all --force --filter="label=com.bitwarden.product=bitwarden" \
|
||||
--filter="label!=com.bitwarden.project=setup"
|
||||
}
|
||||
|
||||
function updateLetsEncrypt() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user