Interface RunningService
public interface RunningService
Provides details of a running Docker Compose service.
- Since:
- 3.1.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable DockerComposeFileReturn the Docker Compose file for the service.env()Return the environment defined for the service.host()Return the host that can be used to connect to the service.image()Return the image being used by the service.labels()Return the labels attached to the service.name()Return the name of the service.ports()Return the ports that can be used to connect to the service.
-
Method Details
-
name
-
image
-
host
-
ports
ConnectionPorts ports()Return the ports that can be used to connect to the service.- Returns:
- the service ports
-
env
-
labels
-
composeFile
Return the Docker Compose file for the service.- Returns:
- the Docker Compose file
- Since:
- 3.5.0
-