|
|
||
|---|---|---|
| docker-helper | ||
| example-executable | ||
| example-library | ||
| example-unittest | ||
| CMakeLists.txt | ||
| README.md | ||
| cpp-code-server-devenv.Dockerfile | ||
README.md
Building the docker image
The following command can be used to create the docker container image:
docker build -t cpp-devenv-in-docker -f cpp-code-server-devenv.Dockerfile .
To run the container there is only 2 things it really needs. A password, and a port on which
code server will be reachable. The port that the image exposes is 8080, we map it to 7501
docker run -t -p 7501:8080 -e CODE_SERVER_PASSWD=YourPasswordHere cpp-devenv-in-docker