v1
latestOpenAPI 3.0.02026-07-1410578280.2 KBContainer
Attach to a container via a websocket
get/containers/{id}/attach/ws
Path parameters
idstring required
ID or name of the container
Query parameters
detachKeysstring
Override the key sequence for detaching a container.Format is a single character [a-Z] or ctrl-<value> where <value> is one of: a-z, @, ^, [, ,, or _.
logsboolean
Return logs
streamboolean
Return stream
stdinboolean
Attach to stdin
stdoutboolean
Attach to stdout
stderrboolean
Attach to stderr
Response
no error, no upgrade header found