Exec Start
POST /exec/(id)/start
Starts a previously set up exec
instance id
. If detach
is true, this API returns after starting the exec
command. Otherwise, this API sets up an interactive session with the exec
command.
Example request:
Example response:
Json Parameters:
Detach - Detach from the
exec
command.Tty - Boolean value to allocate a pseudo-TTY.
Status Codes:
200 – no error
404 – no such exec instance
409 - container is paused
Stream details: Similar to the stream behavior of
POST /container/(id)/attach
API
Last updated