Docker Community Forums

Share and learn in the Docker community.

Use docker exec like attach

docker

#1

hi.
i want get webSocket from docker exec start to use in xterm . but i get ok 200 response.
i want to get 101 switching protocol(101) to connect to exterm with it.
i can connect to xterm with attach but i couldn’t with exec.
how can i get webSocket from docker exec start .
i see some examples they hijacked http request . but i couldn’t understand.
It is very vital this issue.
i want do it in php with docker engine api.
thanks in advance