Browse Source

docs: Update docker compose kill usage

Signed-off-by: Jan Brasna <[email protected]>
Jan Brasna 1 year ago
parent
commit
1601ead7bc
2 changed files with 3 additions and 3 deletions
  1. 2 2
      docs/reference/compose_kill.md
  2. 1 1
      docs/reference/docker_compose_kill.yaml

+ 2 - 2
docs/reference/compose_kill.md

@@ -4,7 +4,7 @@
 Forces running containers to stop by sending a `SIGKILL` signal. Optionally the signal can be passed, for example:
 
 ```console
-$ docker-compose kill -s SIGINT
+$ docker compose kill -s SIGINT
 ```
 
 ### Options
@@ -23,5 +23,5 @@ $ docker-compose kill -s SIGINT
 Forces running containers to stop by sending a `SIGKILL` signal. Optionally the signal can be passed, for example:
 
 ```console
-$ docker-compose kill -s SIGINT
+$ docker compose kill -s SIGINT
 ```

+ 1 - 1
docs/reference/docker_compose_kill.yaml

@@ -4,7 +4,7 @@ long: |-
     Forces running containers to stop by sending a `SIGKILL` signal. Optionally the signal can be passed, for example:
 
     ```console
-    $ docker-compose kill -s SIGINT
+    $ docker compose kill -s SIGINT
     ```
 usage: docker compose kill [OPTIONS] [SERVICE...]
 pname: docker compose