From 7f4ab79782d34e1cfb0fdd065aae9206aeeed647 Mon Sep 17 00:00:00 2001
From: kerta1n <36344851+kerta1n@users.noreply.github.com>
Date: Mon, 19 Sep 2022 09:52:46 -0400
Subject: [PATCH] Docker Compose V2 changes (#24177)
---
source/_includes/installation/container.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/source/_includes/installation/container.md b/source/_includes/installation/container.md
index cf5097142b6..7b1685a619b 100644
--- a/source/_includes/installation/container.md
+++ b/source/_includes/installation/container.md
@@ -51,7 +51,7 @@ If you change the configuration you have to restart the server. To do that you h
content: |
```bash
- docker-compose restart
+ docker compose restart
```
{% endtabbed_block %}
@@ -59,19 +59,19 @@ If you change the configuration you have to restart the server. To do that you h
### Docker Compose
-
- In order to use `docker-compose` you first need to [install `docker-compose`](https://docs.docker.com/compose/install/) on your system.
+
+ `docker compose` should [already be installed](https://www.docker.com/blog/announcing-compose-v2-general-availability/) on your system. If not, you can [manually](https://docs.docker.com/compose/install/linux/) install it.
-As the Docker command becomes more complex, switching to `docker-compose` can be preferable and support automatically restarting on failure or system restart. Create a `docker-compose.yml` file:
+As the Docker command becomes more complex, switching to `docker compose` can be preferable and support automatically restarting on failure or system restart. Create a `compose.yml` file:
{% include installation/container/compose.md %}
Start it by running:
```bash
-docker-compose up -d
+docker compose up -d
```
Once the Home Assistant Container is running Home Assistant should be accessible using `http://:8123` (replace with the hostname or IP of the system). You can continue with onboarding.