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
7935151357
commit
d318be8cff
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user