docs: fix docker compose command in README.md (#31)

This commit is contained in:
Stefan Dej 2024-06-16 12:03:12 +02:00 committed by GitHub
parent 1e0520c99a
commit 6c005aa185
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
### Setup Instructions: ### Setup Instructions:
1. Clone this repository 1. Clone this repository
2. Open a terminal in the cloned folder 2. Open a terminal in the cloned folder
3. Run `docker-compose up -d` to build the docker image and start the container in detached mode 3. Run `docker compose up -d` to build the docker image and start the container in detached mode
--- ---
@ -24,7 +24,7 @@ To configure a dummy-webcam, use the following URLs:
* Get only the ID of running containers: `docker ps` * Get only the ID of running containers: `docker ps`
* Access a containers shell: `docker exec -it <CONTAINER ID> bash` * Access a containers shell: `docker exec -it <CONTAINER ID> bash`
* Start/Restart/Stop a container: `docker container start/restart/stop <CONTAINER ID>` * Start/Restart/Stop a container: `docker container start/restart/stop <CONTAINER ID>`
* Rebuild image, recreate and start container : `docker-compose up -d --build` * Rebuild image, recreate and start container : `docker compose up -d --build`
--- ---
Current image size: 742.72 MB Current image size: 742.72 MB