mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-12-20 13:16:18 +00:00
Merge branch 'unified' into unified
This commit is contained in:
@@ -38,7 +38,7 @@ Remove-Item "$pwd\src\bitBetter\cert.cert" -Force
|
|||||||
# gather all running instances
|
# gather all running instances
|
||||||
$oldinstances = docker container ps --all -f Name=bitwarden --format '{{.ID}}'
|
$oldinstances = docker container ps --all -f Name=bitwarden --format '{{.ID}}'
|
||||||
|
|
||||||
# stop all running instances
|
# stop and remove all running instances
|
||||||
foreach ($instance in $oldinstances) {
|
foreach ($instance in $oldinstances) {
|
||||||
docker stop $instance
|
docker stop $instance
|
||||||
docker rm $instance
|
docker rm $instance
|
||||||
|
|||||||
2
build.sh
2
build.sh
@@ -39,7 +39,7 @@ rm -f "$PWD/src/bitBetter/cert.cert"
|
|||||||
# gather all running instances
|
# gather all running instances
|
||||||
OLDINSTANCES=$(docker container ps --all -f Name=bitwarden --format '{{.ID}}')
|
OLDINSTANCES=$(docker container ps --all -f Name=bitwarden --format '{{.ID}}')
|
||||||
|
|
||||||
# stop all running instances
|
# stop and remove all running instances
|
||||||
for INSTANCE in ${OLDINSTANCES[@]}; do
|
for INSTANCE in ${OLDINSTANCES[@]}; do
|
||||||
docker stop $INSTANCE
|
docker stop $INSTANCE
|
||||||
docker rm $INSTANCE
|
docker rm $INSTANCE
|
||||||
|
|||||||
Reference in New Issue
Block a user