From e7fb7541940e05cc7a10308e17e8fd6668120b4d Mon Sep 17 00:00:00 2001 From: Vinicius Fortuna Date: Fri, 13 Mar 2026 08:40:53 -0600 Subject: [PATCH 1/2] Improve formatting of docker instructions Formatted code blocks for better readability in markdown. --- docker_instructions.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/docker_instructions.md b/docker_instructions.md index ae3d1762..62a1912a 100644 --- a/docker_instructions.md +++ b/docker_instructions.md @@ -1,23 +1,32 @@ # To build the docker container Run all the following commands from the root directory ### Build and Run your service: -`docker compose up --build -d` +```sh +docker compose up --build -d +``` + ### Find the container name: -`docker ps` +```sh +docker ps +``` Should look something like: -``` +```txt CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 7b2de3be0087 participation-project-napolitan "tail -f /dev/null" 5 seconds ago Up 4 seconds participation-project-napolitan-1 ``` ### Execute a bash shell inside the container: -Use the name from above.\ -`docker exec -it participation-project-napolitan-1 bash` +Use the name from above. +``` +docker exec -it participation-project-napolitan-1 bash +``` ### Setup gcloud cli project and authenticate: -`gcloud auth application-default login && \`\ -`gcloud config set project ` +```sh +gcloud auth application-default login && \ +gcloud config set project +``` # To delete docker container `docker compose down --rmi all --volumes` From 02be0bbb9997a5a9ac3e0ab51da545262d90e1b9 Mon Sep 17 00:00:00 2001 From: Vinicius Fortuna Date: Fri, 13 Mar 2026 08:42:13 -0600 Subject: [PATCH 2/2] Improve formatting in docker_instructions.md Formatted code blocks for better readability. --- docker_instructions.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker_instructions.md b/docker_instructions.md index 62a1912a..06a3f9b8 100644 --- a/docker_instructions.md +++ b/docker_instructions.md @@ -18,7 +18,7 @@ CONTAINER ID IMAGE COMMAND CREATED ### Execute a bash shell inside the container: Use the name from above. -``` +```sh docker exec -it participation-project-napolitan-1 bash ``` @@ -29,4 +29,6 @@ gcloud config set project ``` # To delete docker container -`docker compose down --rmi all --volumes` +```sh +docker compose down --rmi all --volumes +```