Skip to content

docker exec and docker logs

Select an icon to see what it is.

Step 2 of 6

exec start opens a stream

The CLI sends POST /exec/{id}/start. dockerd replies 101 UPGRADED and keeps the same connection open for raw output. dockerd then asks containerd to run the command.

POST /v1.45/exec/f6a7b8c9d0e1f2a3f6a7b8c9d0e1f2a3f6a7b8c9d0e1f2a3f6a7b8c9d0e1f2a3/start

{
"Detach": false
"Tty": false
}