I am trying to open a unix socket as a tcp socket with this command:
nc -lkv 44444 | nc -Uv /var/run/docker.sock
When I try to access localhost:44444/containers/json from the browser, it doesnβt download anything, but keeps the connection open (the download still holds), but the console (due to the -v flag) shows the correct HTTP response.
Any ideas on how to do this?
PS: I know I can use socat or just tell docker to listen on the tcp socket as well, but I am using the atomic image of the vm project and it will not let me change anything other than / home.
source share