File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,14 @@ public function check_requirements( $show_error = true ) {
105105 $ error [] = 'EasyEngine requires docker-compose. ' ;
106106 }
107107
108+ $ docker_compose_version = EE ::launch ( 'docker-compose version --short ' )->stdout ;
109+ if ( version_compare ( $ docker_compose_version , '2.26.0 ' , '< ' ) ) {
110+ if ( $ show_error ) {
111+ EE ::warning ( 'EasyEngine requires docker-compose version 2.26.0 or greater. ' );
112+ EE ::warning ( 'You can get the updated version of docker-compose from assets in https://github.com/docker/compose/releases/tag/v2.26.1 ' );
113+ }
114+ }
115+
108116 if ( version_compare ( PHP_VERSION , '7.2.0 ' ) < 0 ) {
109117 $ status = false ;
110118 $ error [] = 'EasyEngine requires minimum PHP 7.2.0 to run. ' ;
You can’t perform that action at this time.
0 commit comments