Update README.md

This commit is contained in:
bjoernellens1 2023-10-23 10:28:10 +02:00 committed by GitHub
parent cf0fd9e1f1
commit 8dea01c940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,4 +13,16 @@ docker buildx bake example_service --load
docker buildx bake example_service --push docker buildx bake example_service --push
## To run example_service: ## To run example_service:
### Run example_service in background
docker compose up -d example_service 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