From 8dea01c94045988e324e3f40240930df01db5cec Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Mon, 23 Oct 2023 10:28:10 +0200 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index b40e63b..3905b0c 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,16 @@ docker buildx bake example_service --load docker buildx bake example_service --push ## To run example_service: +### Run example_service in background docker compose up -d example_service + +### Run example_service in foreground +docker compose up example_service + +### Execute shell inside example_service +#### If container is stopped +docker compose run example_service bash +#### If container is already running +docker compose exec example_service bash +### Execute example_program inside example_service +docker compose run example_service example_program