mirror of
https://github.com/bjoernellens1/ros2_docker_template.git
synced 2024-11-23 15:55:05 +00:00
Update README.md
This commit is contained in:
parent
cf0fd9e1f1
commit
8dea01c940
12
README.md
12
README.md
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user