mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
add troubleshooting section
This commit is contained in:
parent
a7c0b5e895
commit
ed4cd44714
2 changed files with 14 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -17,3 +17,4 @@ _site/
|
||||||
!petclinic.css
|
!petclinic.css
|
||||||
|
|
||||||
zap-report/*
|
zap-report/*
|
||||||
|
.DS_Store
|
||||||
|
|
13
readme.md
13
readme.md
|
@ -19,6 +19,19 @@ Go to the following locations:
|
||||||
docker-compose -f docker-compose_spring-petclinic.yml down
|
docker-compose -f docker-compose_spring-petclinic.yml down
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Troubleshooting a container
|
||||||
|
|
||||||
|
See an event in a running container:
|
||||||
|
```
|
||||||
|
docker logs <container-id>
|
||||||
|
docker logs spring-petclinic-petclinic-1
|
||||||
|
```
|
||||||
|
|
||||||
|
Run terminal in a running container:
|
||||||
|
```
|
||||||
|
docker exec -it <container-id> bash
|
||||||
|
docker exec -it spring-petclinic-petclinic-1 bash
|
||||||
|
```
|
||||||
|
|
||||||
# Setting up Jenkins
|
# Setting up Jenkins
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue