diff --git a/docs/installation/docker.md b/docs/installation/docker.md
index e36037e..4fb527d 100644
--- a/docs/installation/docker.md
+++ b/docs/installation/docker.md
@@ -4,11 +4,11 @@ The Docker installation is the method to choose if you want to quickly deploy Op
## Requirements ##
-The current documentation has been tested on **Debian 10** and **Ubuntu LTS 20.04** with the following requirements :
+The current documentation has been tested on **Debian 10**, **Rocky Linux 9** and **Ubuntu LTS 20.04** with the following requirements :
-- Docker-compose 1.21.0+
-- Docker 20.10.1+
+- Docker Compose v2.27.0
+- Docker 26.1.1
- 5 GB RAM
@@ -34,7 +34,7 @@ Update the following keys in the `opencve.cfg` file:
- smtp_user & smtp_password if any or leave empty
!!!tip
- If you want to change the default postgresql password (strongly advised), you can add it in the `.env` file before the docker-compose build:
+ If you want to change the default postgresql password (strongly advised), you can add it in the `.env` file before the docker compose build:
```
POSTGRES_PASSWORD=MyStrongPassword42
@@ -51,13 +51,13 @@ Update the following keys in the `opencve.cfg` file:
You can now build the OpenCVE image:
```
-$ docker-compose build
+$ docker compose build
```
Then start everything except the beat:
```
-$ docker-compose up -d postgres redis webserver celery_worker
+$ docker compose up -d postgres redis webserver celery_worker
```
## Initialize the database ##
@@ -65,7 +65,7 @@ $ docker-compose up -d postgres redis webserver celery_worker
The database can be initialized with the following command:
```
-$ docker exec -it webserver opencve upgrade-db
+$ docker compose exec -it webserver opencve upgrade-db
```
## Import the data ##
@@ -73,7 +73,7 @@ $ docker exec -it webserver opencve upgrade-db
The tables are created, you can now populate them using the `import-data` command :
```
-$ docker exec -it webserver opencve import-data
+$ docker compose exec -it webserver opencve import-data
```
This command download the list of CPE, the list of CWE and each CVE's year (from 2002 until now), so **it can take several minutes**. Don't worry you will only do it once.
@@ -90,7 +90,7 @@ This command download the list of CPE, the list of CWE and each CVE's year (from
You can now create the admin :
```
-$ docker exec -it webserver opencve create-user john john.doe@example.com --admin
+$ docker compose exec -it webserver opencve create-user john john.doe@example.com --admin
Password:
Repeat for confirmation:
[*] User john created.
@@ -104,7 +104,7 @@ Repeat for confirmation:
The last step is to start the scheduler :
```
-$ docker-compose up -d celery_beat
+$ docker compose up -d celery_beat
```
You can now use OpenCVE with your own dockerized instance of it.