mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 03:35:21 +01:00
update check docker compose
Signed-off-by: yminer <miner.yang@broadcom.com>
This commit is contained in:
parent
c14c3dbf9e
commit
c9a0cb1dc1
@ -103,7 +103,7 @@ function check_docker {
|
||||
}
|
||||
|
||||
function check_dockercompose {
|
||||
if [! docker compose version] &> /dev/null || [! docker-compose --version] &> /dev/null
|
||||
if ! [docker compose version &> /dev/null] || ! [docker-compose --version &> /dev/null]
|
||||
then
|
||||
error "Need to install docker-compose(1.18.0+) or a docker-compose-plugin (https://docs.docker.com/compose/)by yourself first and run this script again."
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user