Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
This HTTP API call will launch a nested container whose life-cycle is tied to the lifetime of the connection used to make this call. Once the agent receives the request, it will hold onto it until the container runs to completion or there is an error. As it holds onto it, it will stream the stdout and stderr of the container over the HTTP connection in a streaming response body. This response will mimic the response body returned by a call to ATTACH_NESTED_CONTAINER.
Upon success, the error code of the response will be 200. On error, an appropriate 400 error will be returned. If the connection is ever broken by either the client or the agent, the container will be destroyed.