Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 453 Bytes

File metadata and controls

30 lines (19 loc) · 453 Bytes

cpp-container

This is a basic Docker container for a C++ program

Getting Started

Build the image from Dockerfile with the command:

docker build -t cpp-container .

Once built, run the image:

docker run -it cpp-container

...or run it interactively in a shell:

docker run -it cpp-container sh

...or run it with a volume mounted to the current source code:

docker run -v "$(pwd)":/usr/src -it cpp-container