News for hackers. Stuff that matters.
Re:Systemd vs. Docker by bryanlarsen on Thursday March 03, 2016 @10:31AM (#11217394)
Why the systemd hate? Because it's a big monolithic project that takes over your system? You do realize that Docker is much more monolithic and opinionated than systemd, right?
Re:Systemd vs. Docker by kordless on Thursday March 03, 2016 @11:34AM (#11217929)
When you ask questions, especially leading ones, it causes a good deal of confusion around the topic at hand. The reasons behind this are complex, but they have something to do with our tendency to double bind each other.

Someone has the right to say why something is "disqualified" for them, even if it is devoid of context. What is awesome here is that the leading expert for this topic is replying directly to the negative (empty) opinion and actually presents a (rich) alternate opinion.

How does you asking unanswerable questions contribute to resolving the conversation to something we can all learn from?

Re:Systemd vs. Docker by GFK_of_xmaspast on Thursday March 03, 2016 @12:58PM (#11218567)
So in other words "questions are a burden and answers are a prison for oneself".
Re:Systemd vs. Docker by kordless on Friday March 04, 2016 @12:42AM (#11222241)
Regardless of their nature, questions are definitely a burden. However, I think the way some questions are put can cause a disproportionate amount of burden when they contain hidden meanings or agendas.

If someone is having issues being direct and use techniques to "hide" how they feel about something in a question, they effectively load the question with intent. I think sometimes those questions can be viral in nature, causing angry memes like what they mention in "This Video Will Make You Angry": https://www.youtube.com/watch?v=rE3j_RHkqJc

Logic would dictate that we should learn to avoid questions which cause excessive amounts of processing with little return in their answers. A simple way to filter on these is to ask if the question conflicts itself when answered in a given way.

Re:Systemd vs. Docker by qwertyuiop924 on Thursday March 03, 2016 @12:15PM (#11218259)
Yes, but I will never have to use docker if I don't want to. For that matter, docker doesn't try to be cron, it doesn't want to handle mounting, didn't subsume udev, and doesn't encourage other project to link against it, and to drop all compatibility with non-linux systems. Systemd does, did, and is doing that right now.
Re:Systemd vs. Docker by bryanlarsen on Thursday March 03, 2016 @12:54PM (#11218531)
"but I will never have to use docker if I don't want to."

I predict that fairly soon install instructions for a lot of different types of software will be "docker run ..."

For example, try running discourse without using docker.

Re:Systemd vs. Docker by qwertyuiop924 on Monday March 07, 2016 @01:33PM (#11240559)
Install deps, configure it, done. Looks straightforward, if a tad undocumented.

The thing is, the inside of a docker container is by definition indistinguishable from a regular linux install. Discourse isn't dependent on Docker, not the same way GNOME is dependent on systemd: It just encourages you to use it.

Re:Systemd vs. Docker by digi_owl on Friday March 04, 2016 @12:49AM (#11222267)
And others will list systemd as a hard dependency. The future will be "fun".
Re:Systemd vs. Docker by agentgt on Thursday March 03, 2016 @10:35AM (#11217436)
I really hope unikernels take off because I really hate dealing with both (particularly docker more so than systemd).
Re:Systemd vs. Docker by rdtsc on Thursday March 03, 2016 @10:41AM (#11217488)
I am a bit with Cantrill on unikernels they sound cool to play with, but I would hate to debug issues with them in production.
Re:Systemd vs. Docker by agentgt on Thursday March 03, 2016 @11:02AM (#11217667)
I'm curious what you mean by debug. If you mean monitor all of our apps send metrics, health checks, and logs over the wire I'm sure that is independent.

What would docker allow you over the unikernel especially given the best practice push for docker images to only run one thing in a container?

IMO with Unikernel Xen aka Hypervisors are the container holders instead of docker.

Re:Systemd vs. Docker by vidarh on Thursday March 03, 2016 @11:40AM (#11217984)
With a Docker container, I can exec into it and run strace, ltrace, gdb etc.. With a unikernel it all depends on what you have built into the unikernel. That might provide everything I need, or not. The issue is that we will need a lot of toolking to put unikernels on a sufficiently equal footing vs. being able to run decades worth of Linux tools directly in the containers.
Re:Systemd vs. Docker by agentgt on Thursday March 03, 2016 @12:00PM (#11218148)
The issue I have with that is the tooling you mention while stable and mature is actively being replaced by cloud tools because you really can't just debug a single machine in production when you have a cluster.. not to mention it is production so debug symbols might not even be available.

I understand your point of the maturity w/ tooling but I see it as a serious failure if you have to log into a machine in production and run gdb or IMO any tool. Your app can and should provide healthchecks/monitoring so that you can see if there is a problem (this includes even a thread stack dump).

I'm probably just biased and jaded as I have had some serious technical debt lost to Docker. It just feels like a VM on top of a VM on top of a VM of continuous things to break/learn... I want baremetal :)

Re:Systemd vs. Docker by rdtsc on Thursday March 03, 2016 @12:06PM (#11218195)
> you really can't just debug a single machine in production when you have a cluster

Somehow I ended up debugging, tracing, monitoring and even hotpatching individual machines in the cluster. Yeah the easy problems will show up in the monitoring and logs. The harder ones won't.

Re:Systemd vs. Docker by agentgt on Thursday March 03, 2016 @01:29PM (#11218792)
That must have been a pain in the butt :) . And for sure your right there are always exceptions.

I guess I haven't ran into those issues probably because I run JVMs but I suppose if you have native code or an interpreter using native code I can see how it would be helpful to just SSH and figure out what the issue is.

Now that I recall I have actually had to SSH a bunch of times because of Rackspace network interfaces randomly failing so I am a big hypocrite :)

Re:Systemd vs. Docker by rdtsc on Thursday March 03, 2016 @04:28PM (#11220177)
It wasn't a huge pain. It was Erlang, so I could do those very easily. But it still had to be done by logging into a few machines and poking around. I can't imagine if that was somehow a bunch of C code combined with a kernel running in the same memory space.
Re:Systemd vs. Docker by rdtsc on Thursday March 03, 2016 @12:04PM (#11218181)
But I am not using docker either ;-)
Re:Systemd vs. Docker by atemerev on Thursday March 03, 2016 @11:04AM (#11217678)
Opinionated, yes. Monolithic, no. Huge mess of everything that deeply integrates in any system — of course not, your containers don't need to know anything about Docker and host system, you are absolutely free in choices. It's even possible to run (gasp!) multiple services with supervision inside Docker.
Re:Systemd vs. Docker by bryanlarsen on Thursday March 03, 2016 @11:08AM (#11217717)
That's the first time I ever heard anybody argue that Docker isn't monolothic. It does everything inside it's single daemon executable. Compare against Rocket, which doesn't use a daemon, and uses separate executables for different tasks and stages.
Re:Systemd vs. Docker by qwertyuiop924 on Thursday March 03, 2016 @12:18PM (#11218278)
Docker is monolithic, probably more so than it should be, but designed quite well, allowing for things like triton to exist. Systemd is monolithic, but does far more than docker, and really more than it should.