Skip to content

Commit cbf3431

Browse files
authored
docs: update docker README
1 parent 30e3f5b commit cbf3431

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docker/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ You can also open the datatracker project folder and click the **Reopen in conta
9595
```sh
9696
Copy-Item "docker/docker-compose.extend.yml" -Destination "docker/docker-compose.extend-custom.yml"
9797
(Get-Content -path docker/docker-compose.extend-custom.yml -Raw) -replace 'CUSTOM_PORT','8000' | Set-Content -Path docker/docker-compose.extend-custom.yml
98-
docker-compose -f docker-compose.yml -f docker/docker-compose.extend-custom.yml up -d
99-
docker-compose exec app /bin/sh /docker-init.sh
98+
docker compose -f docker-compose.yml -f docker/docker-compose.extend-custom.yml up -d
99+
docker compose exec app /bin/sh /docker-init.sh
100100
```
101101

102102
2. Wait for the containers to initialize. Upon completion, you will be dropped into a shell from which you can start the datatracker and execute related commands as usual, for example
@@ -120,7 +120,7 @@ The containers will automatically be shut down on Linux / macOS.
120120
On Windows, type the command
121121

122122
```sh
123-
docker-compose down
123+
docker compose down
124124
```
125125

126126
to terminate the containers.
@@ -138,9 +138,9 @@ cd docker
138138

139139
On Windows:
140140
```sh
141-
docker-compose down -v
142-
docker-compose pull db
143-
docker-compose build --no-cache db
141+
docker compose down -v
142+
docker compose pull db
143+
docker compose build --no-cache db
144144
```
145145

146146
### Clean all
@@ -156,15 +156,15 @@ cd docker
156156

157157
On Windows:
158158
```sh
159-
docker-compose down -v --rmi all
159+
docker compose down -v --rmi all
160160
docker image prune
161161
```
162162

163163
### Accessing MariaDB Port
164164

165165
The port is exposed but not mapped to `3306` to avoid potential conflicts with the host. To get the mapped port, run the command *(from the project `/docker` directory)*:
166166
```sh
167-
docker-compose port db 3306
167+
docker compose port db 3306
168168
```
169169

170170
## Notes / Troubleshooting

0 commit comments

Comments
 (0)