For unifying the environment, it's recommended to follow this guide C++ development with Docker containers in Visual Studio Code to run this example in docker with VSCode
To compile and run the echo server:
./run-server.sh
Test the server by send some text to it:
./client.sh