Interface RunningService


public interface RunningService
Provides details of a running docker compose service.
Since:
3.1.0
Author:
Moritz Halbritter, Andy Wilkinson, Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    env()
    Return the environment defined for the service.
    Return the host that can be used to connect to the service.
    Return the image being used by the service.
    Return the labels attached to the service.
    Return the name of the service.
    Return the ports that can be used to connect to the service.
  • Method Details

    • name

      String name()
      Return the name of the service.
      Returns:
      the service name
    • image

      Return the image being used by the service.
      Returns:
      the service image
    • host

      String host()
      Return the host that can be used to connect to the service.
      Returns:
      the service host
    • ports

      Return the ports that can be used to connect to the service.
      Returns:
      the service ports
    • env

      Map<String,String> env()
      Return the environment defined for the service.
      Returns:
      the service env
    • labels

      Map<String,String> labels()
      Return the labels attached to the service.
      Returns:
      the service labels