code: def test_actor_in_container():
      job_config = ray.job_config.JobConfig(
          runtime_env={
              "container": {
                  "image": "rayproject/ray-worker-container:nightly-py36-cpu",
              }
          }
      )
      ray.init(job_config=job_config)
  
      @ray.remote
      class Counter(object):
          def __init__(self):
              self.value = 0
  
          def increment(self):
              self.value += 1
              return self.value
  
          def get_counter(self):
              return self.value
  
      a1 = Counter.options().remote()
      a1.increment.remote()
      result = ray.get(a1.get_counter.remote())
      assert result == 1
      ray.shutdown()
  
imports: import pytest
  import sys
  import ray
  import ray.job_config
  import ray.cluster_utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_actor_in_container() and returns: self, self