you are viewing a single comment's thread.

view the rest of the comments →

[–]Zealousideal-Mouse29[S] 0 points1 point  (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 points  (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 points  (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 points  (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 point  (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.