fix: improve Docker container existence detection in install_server.sh

This commit is contained in:
Mikhail Kopylov 2023-09-29 03:28:50 +07:00 committed by GitHub
parent 33a7886864
commit 51a86b0cc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,7 +172,7 @@ function start_docker() {
}
function docker_container_exists() {
docker ps | grep --quiet "$1"
docker ps -a --format '{{.Names}}'| grep --quiet "^$1$"
}
function remove_shadowbox_container() {