code: def stop(name):
      
      container_name = get_container_name(name)
      client = docker.Client()
      try:
          client.stop(container_name)
      except docker.errors.NotFound:
          pass
      except docker.errors.APIError as error:
          die(error.explanation.decode())
docs: Stop project's container.