3 ms·
I had to do it for work for a tool to interact with remotely hosted containers. Tip for anyone trying to do this in Go, look at Docker CLI's code for all the k
by Deathmax 5y ago
I had to do it for work for a tool to interact with remotely hosted containers.
Tip for anyone trying to do this in Go, look at Docker CLI's code for all the knobs you need to turn to have an actually interactive terminal, for example, setting raw mode on the terminal, handling terminal resizes, and other things across platforms.