v1

latestSwagger 2.02026-07-17107109407.9 KB
Container

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