mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
fix: improve Docker container existence detection in install_server.sh
This commit is contained in:
parent
33a7886864
commit
51a86b0cc8
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue