Method: DockerCloud::ContainerAPI#redeploy

Defined in:
lib/docker_cloud/api/container_api.rb

#redeploy(uuid) ⇒ Object

NOTE: Container redeployment will make a destructive update.

redeploy will update the container UUID. 
But response is still the old UUID.


45
46
47
48
49
# File 'lib/docker_cloud/api/container_api.rb', line 45

def redeploy(uuid)
  url = "#{uuid}/redeploy/"
  response = http_post(resource_url(url))
  format_object(response, TYPE)
end