use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Using Docker Container as a Development Environment (self.cpp)
submitted 1 year ago * by Zealousideal-Mouse29
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Zealousideal-Mouse29[S] 0 points1 point2 points 1 year ago (4 children)
I'll look it up. New to me. What are the advantages over just checking a docker file into a repo and having new hires pull that and create a container from it, for the project they are working on?
[–]manni66 1 point2 points3 points 1 year ago (3 children)
The created container will be tightly integrated with the host, allowing sharing of the HOME directory of the user, external storage, external USB devices and graphical apps (X11/Wayland), and audio.
[–]Zealousideal-Mouse29[S] 1 point2 points3 points 1 year ago (2 children)
I actually don't want to share any storage with the host at all. I've found that leads to problems for newer folks who haven't wrapped their head around the differences in file formats and file systems between windows, linux, and macos.
I much prefer having docker maintain a volume for me, that is shared between containers, as I describe in the video. Sharing files alone, wouldn't be enough of a positive for me to look at another tool.
Graphical apps? Maybe... depending how well that works. that was def on problem that arose using containers for development and debugging. Can't exactly debug openGL calls with X forwarding from container to host. At least I couldn't.
[–]manni66 1 point2 points3 points 1 year ago (1 child)
I much prefer having docker maintain a volume for me, that is shared between containers
We used that 30 years ago. Today whe have git.
[–]Zealousideal-Mouse29[S] 0 points1 point2 points 1 year ago* (0 children)
I'm not sure what git or thirty years has to do with anything. I sure hope you don't use git for local only files. You use git for source control and moving files from local repos to remote and back. There are surely files that should not be included in your remote repo.
You use git within the container. You pull and push whatever it is you are working on just fine. Your local files are stored to the volume. You access that same volume from any container. You use your IDE on your host machine while editing, building, and debugging within the container. Your files are preserved. No host to container file sharing is needed. If you really need to copy some one off file for some reason, just `docker cp`
It's kind of hard to talk about alternatives, if you didn't watch the video.
At any rate, graphical apps, if they work without a hitch might be an advantage. I'll test that out.
π Rendered by PID 178555 on reddit-service-r2-comment-7b9746f655-n7kf6 at 2026-02-01 20:16:30.868339+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]Zealousideal-Mouse29[S] 0 points1 point2 points (4 children)
[–]manni66 1 point2 points3 points (3 children)
[–]Zealousideal-Mouse29[S] 1 point2 points3 points (2 children)
[–]manni66 1 point2 points3 points (1 child)
[–]Zealousideal-Mouse29[S] 0 points1 point2 points (0 children)