docs: def Docker():
      """ Get Docker setup information """
      docker_info = {'server': {}, 'env': '', 'type': '', 'os': ''}
  
      # get docker server version
      try:
          d_client = docker.from_env()
          docker_info['server'] = d_client.version()
      except Exception as e:  # pragma: no cover
          logger.error("Can't get docker info " + str(e))
  
      # get operating system
      system = System()
      docker_info['os'] = system
  
      # check if native or using docker-machine
      if 'DOCKER_MACHINE_NAME' in environ:
          # using docker-machine
          docker_info['env'] = environ['DOCKER_MACHINE_NAME']
          docker_info['type'] = 'docker-machine'
      elif 'DOCKER_HOST' in environ:
          # not native
          docker_info['env'] = environ['DOCKER_HOST']
          docker_info['type'] = 'remote'
      else:
          # using "local" server
          docker_info['type'] = 'native'
      return docker_info