Update README.md

This commit is contained in:
bjoernellens1 2023-10-23 11:41:35 +02:00 committed by GitHub
parent 7935151357
commit d318be8cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,13 +28,15 @@ docker buildx bake my_example --load # to load into local container registry
docker buildx bake my_example --push # to push into specified remote container registry docker buildx bake my_example --push # to push into specified remote container registry
``` ```
## To run my_example: ## To run my_example:
### Run my_example just once to see if everything's working:
### Run my_example in background ### Run my_example in background
``` ```
docker compose up -d example_service docker compose up -d my_example
``` ```
### Run my_example in foreground ### Run my_example in foreground
``` ```
docker compose up example_service docker compose up my_example
``` ```
### Execute shell inside my_example ### Execute shell inside my_example
#### If container is stopped #### If container is stopped