Hello,
I have a simple server/client written in C++ using CPP REST SDK and I would like to run the server in Docker. The server just open a port (arg from the cmd line). When the server try to create the socket/port, the server fails in Docker.
In standard Windows mode, it works.
I have put the EXPOSE 7001 (its default port) on the docker file. No way.
I have tried the command:
docker container run -p 7001:7001 --interactive --tty mydocker/myserver
I launch the server app, it fails…
nothing works. I am dissapointed…
Any idea ?