- Install Docker
- Clone and build Docker image
git clone https://github.com/maksimdrachov/ubuntu-cpp-docker cd ubuntu-cpp-docker docker build -t ubuntu-cpp-image .
- Create a folder in your home directory (this will be used as a shared folder with the container)
mkdir ~/ubuntu-cpp
- Run a C++ Docker container
docker run --name ubuntu-cpp -it --init --rm -v ~/ubuntu-cpp:/root/ubuntu-cpp ubuntu-cpp-image
- To open a terminal inside this container:
docker exec -it ubuntu-cpp bash
-
Notifications
You must be signed in to change notification settings - Fork 0
maksimdrachov/ubuntu-cpp-docker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A Docker image for C++ development
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published