class Gitlab::QA::Component::Gitlab::Availability

def service_available?

def service_available?
  output = docker.inspect(name) { |command| command << "--format='{{json .State.Health.Status}}'" }
  output == '"healthy"'
rescue Support::ShellCommand::StatusError
  false
end