def METHOD_NAME(benchmark_spec):
  """Stop and remove docker containers. Remove images.
  Args:
    benchmark_spec: The benchmark specification. Contains all data that is
        required to run the benchmark.
  """
  server_vm = benchmark_spec.vm_groups['server'][0]
  client_vm = benchmark_spec.vm_groups['client'][0]
  server_vm.RemoteCommand('sudo docker stop dc-server')
  server_vm.RemoteCommand('sudo docker rm dc-server')
  client_vm.RemoteCommand('sudo docker stop dc-client')
  client_vm.RemoteCommand('sudo docker rm dc-client')