From 0c162281b9e1a6ee019d472df4c5b77469f210b8 Mon Sep 17 00:00:00 2001 From: Arvind Date: Thu, 15 Feb 2024 15:50:26 +0530 Subject: [PATCH] docs: local development using docker (#10214) --- pages/docs/environments/local-development.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/docs/environments/local-development.mdx b/pages/docs/environments/local-development.mdx index 1a946c146be..845e0daa7cd 100644 --- a/pages/docs/environments/local-development.mdx +++ b/pages/docs/environments/local-development.mdx @@ -58,20 +58,21 @@ You will need Docker and Docker Co ### Setup 1. Make sure you have cloned the repository and are in the root of the project. -2. Execute the following command, this will build the images and start the containers. +2. Ensure that the Docker daemon is running, which is required to execute Docker commands. To do this, launch your Docker Desktop application; this will start the daemon automatically in the background. For users who have installed Docker through the CLI, please refer to the official Docker documentation for instructions on starting the Docker daemon based on your operating system. +3. Execute the following command, this will build the images and start the containers. ```bash docker compose up ``` -3. You can now access the application at `http://localhost:3000`. -4. If you make any changes to the dependencies, it's recommended to rebuild the images with the following command. +4. You can now access the application at `http://localhost:3000`. +5. If you make any changes to the dependencies, it's recommended to rebuild the images with the following command. ```bash docker compose up --build ``` -5. If you want to stop the containers, you can use the following command: +6. If you want to stop the containers, you can use the following command: ```bash docker compose down