Skip to content

Commit d87e0bb

Browse files
dunglasfabpot
authored andcommitted
Update help messages for Docker Compose v2
1 parent acd9e39 commit d87e0bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Configurator/DockerComposeConfigurator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function configure(Recipe $recipe, $config, Lock $lock, array $options =
4848

4949
$this->configureDockerCompose($recipe, $config, $options['force'] ?? false);
5050

51-
$this->write('Docker Compose definitions have been modified. Please run "docker-compose up --build" again to apply the changes.');
51+
$this->write('Docker Compose definitions have been modified. Please run "docker compose up --build" again to apply the changes.');
5252
}
5353

5454
public function unconfigure(Recipe $recipe, $config, Lock $lock)
@@ -76,7 +76,7 @@ public function unconfigure(Recipe $recipe, $config, Lock $lock)
7676
file_put_contents($dockerComposeFile, ltrim($contents, "\n"));
7777
}
7878

79-
$this->write('Docker Compose definitions have been modified. Please run "docker-compose up" again to apply the changes.');
79+
$this->write('Docker Compose definitions have been modified. Please run "docker compose up" again to apply the changes.');
8080
}
8181

8282
public function update(RecipeUpdate $recipeUpdate, array $originalConfig, array $newConfig): void

0 commit comments

Comments
 (0)