News for hackers. Stuff that matters.
Re:How “It works in my machine” turns to “It works in my con... by lmm on Wednesday July 26, 2023 @07:44PM (#36886743)
They make sense if you're using Python, because Python dependency management is awful. For anything else they're not really worth it IME.
Re:How “It works in my machine” turns to “It works in my con... by coderenegade on Thursday July 27, 2023 @12:41AM (#36888992)
Not at all. They make cross compiling fairly trivial, and give teams a way of managing cross compiled dependencies. This was vital a few years ago for things like torch and even opencv, where deploying on anything other than x86 meant you were probably on your own, and you almost certainly wanted control over the compiler flags.
Re:How “It works in my machine” turns to “It works in my con... by lmm on Thursday July 27, 2023 @05:46AM (#36891180)
> Not at all. They make cross compiling fairly trivial, and give teams a way of managing cross compiled dependencies.

How so? A container is the same architecture as the host, how does that help with cross compiling?

Re:How “It works in my machine” turns to “It works in my con... by coderenegade on Thursday July 27, 2023 @06:29AM (#36891514)
You combine qemu with docker. You can then run arm containers and compile your code locally for deployment to an arm board.
Re:How “It works in my machine” turns to “It works in my con... by lmm on Thursday July 27, 2023 @06:54AM (#36891721)
Qemu is the part that's making that possible though. What's docker adding?
Re:How “It works in my machine” turns to “It works in my con... by imtringued on Thursday July 27, 2023 @03:18PM (#36898748)
The ability to kickstart the whole process with a few commands, possibly just a single bash script.
Re:How “It works in my machine” turns to “It works in my con... by lmm on Thursday July 27, 2023 @09:54PM (#36902338)
So what Vagrant already did?