Docker-Compose: How to healthcheck OpenJDK:8 container?
问题 I'm trying to healthcheck a container that extends openjdk:8 . The corresponding Dockerfile can be found at https://github.com/jhipster/jhipster-registry/blob/master/Dockerfile I have the following directory structure: test/ ├── central-server-config │ └── application.yml ├── docker-compose.yml ├── jhipster-registry.yml └── Ping.jar application.yml #common configuration shared between all applications configserver: name: Docker JHipster Registry status: Connected to the JHipster Registry