Container
Attach to a container via a websocket
get/containers/{id}/attach/ws
Request
- Base URL/v1.49 (relative, and the document was published on a file host, not at the API’s origin)
- URL/v1.49/containers/{id}/attach/ws
- Authnone declared
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
Changes
No recorded changes to this operation across all 4 revisions of this API.