News for hackers. Stuff that matters.
Re:Docker Expands Relationship with Microsoft by atonse on Thursday May 28, 2020 @11:54AM (#23338759)
What happened to docker? They basically democratized this whole container thing and launched a paradigm shift in deployment. But you never hear from them anymore except when mentioning the command line container launcher.

Or am I missing something here? Is there an interesting business story there of the missteps made?

Just to clarify, I run docker every day (docker for mac)... my question is more how much of the industry revenue they are able to capture as a business. I wouldn't ask this if they were just an open source project with no business ambitions.

Re:Docker Expands Relationship with Microsoft by narrationbox on Thursday May 28, 2020 @12:10PM (#23338952)
The short answer is that selling developer tools is hard. Software engineers especially do not like to pay for stuff. We used to be in the DevOps space [0] and it is something that requires heavy enterprise sales to monetise well. There are few companies that truly took off in selling digital shovels, one example is probably Jetbrains. Most developer tooling/platform companies either died or got acquihired once they run out of funding. Flynn and Deis were both acquired and I suspect even the new generation of PaaS like Vercel would have to look for alternate sources of revenue once the VC funding dries up and if they do not achieve profitability. The container space is extremely challenging if you are competing directly with companies like Google with tremendous amount of cash and a willingness to buy developer mindshare. Docker may have popularised containers and singlehandedly brought the ideas of BSD jails mainstream but profiting from it is another thing entirely (you can do pretty well consulting on Kubernetes etc. but that would hardly give unicorn levels of return).

[0] https://news.ycombinator.com/item?id=23254394

Re:Docker Expands Relationship with Microsoft by apozem on Thursday May 28, 2020 @01:17PM (#23339872)
This is why Microsoft's strategy is so interesting. They're capturing the value of IDEs and GitHub (a company that struggled to monetize while solo) by soft-bundling them together with Azure, which is extremely easy to monetize.

If it works, all those cool VS Code features will be covered in your monthly cloud bill.

Re:Docker Expands Relationship with Microsoft by BiteCode_dev on Thursday May 28, 2020 @12:37PM (#23339319)
Which microsoft understood well: those dev tools are popular, but can't make money. Well, they have money and they need to become popular again.

Deal.

Re:Docker Expands Relationship with Microsoft by kyawzazaw on Thursday May 28, 2020 @01:07PM (#23339722)
Why is JetBrains a rare success compared to others?
Re:Docker Expands Relationship with Microsoft by libria on Thursday May 28, 2020 @01:37PM (#23340091)
I suppose it's hard to sell tools to people whose job it is to build tools, e.g. John Resig could never have sold jQuery because someone would have just written a feature compatible version for free. (edit, well the source is visible so that might be a bad example)

One thing coders do poorly is UX. Most things I’ve seen that are UX heavy done right are commercial and light-years ahead of open-source versions.

Re:Docker Expands Relationship with Microsoft by thrower123 on Thursday May 28, 2020 @03:47PM (#23341690)
Mostly because they are really, really good, and they don't ask much for it.

I think I pay them less than $150 for a yearly subscription to their entire toolset, which is a price point that makes it stupid not to buy them. ReSharper is well worth a cup of coffee a week, by itself, and then there is DataGrip, WebStorm, IntelliJ, profilers, decompilers, and other stuff thrown in.

Re:Docker Expands Relationship with Microsoft by yakz on Thursday May 28, 2020 @05:40PM (#23343063)
I also enjoy their universal subscription but I recommend trying Rider if you like ReSharper. Outside of small solutions, I find that ReSharper requires more patience than I can muster. The type-and-wait is significantly worse than I remember from classic Mac all-in-ones from the early/mid 90s.
Re:Docker Expands Relationship with Microsoft by tracker1 on Thursday May 28, 2020 @07:57PM (#23344613)
Type and wait is literally the main reason I do most of my actual work in VS Code now instead of Visual Studio... I can't stand the full vs experience... code is just nicer imo.
Re:Docker Expands Relationship with Microsoft by herogreen on Friday May 29, 2020 @03:05AM (#23347048)
What do you mean by type and wait ?
Re:Docker Expands Relationship with Microsoft by bdcravens on Thursday May 28, 2020 @01:19PM (#23339896)
JetBrains seems to do a good job sticking with the core audience of in-the-trenches coders, instead of trying to expand in a way that feels corporatey and enterprisey.
Re:Docker Expands Relationship with Microsoft by agustif on Thursday May 28, 2020 @12:35PM (#23339289)
The eternal question of how much you can capture of the value you create.
Re:Docker Expands Relationship with Microsoft by buggeryorkshire on Thursday May 28, 2020 @11:58AM (#23338797)
They were early in doing decent userland tooling around cgroups etc. Docker Hub too was a genius idea.

However their engineering went to crap - tonnes of issues with new versions where networking and other stuff broke, plus the whole "runs as root" thing. People only then realised that Docker wasn't the tool, it was the wrapper around it.

All this time they were trying to monetise it and failed pretty much.

This is the view as an outsider who's used it for years - anybody got a more accurate view?

Re:Docker Expands Relationship with Microsoft by the8472 on Thursday May 28, 2020 @11:57AM (#23338786)
They got their business solution (docker-swarm) eaten by kubernetes. So now they're only really the CLI and the public registry.
Re:Docker Expands Relationship with Microsoft by bgorman on Thursday May 28, 2020 @12:02PM (#23338843)
On Linux they aren't even the CLI anymore. Buildah and podman are much better
Re:Docker Expands Relationship with Microsoft by stevekemp on Thursday May 28, 2020 @12:26PM (#23339160)
The downside to podman is that you lose docker-compose. (Yes I know there is podman-compose, but it isn't as complete.)

docker-compose has issues of its own, but when you can use it then it works really well.

Re:Docker Expands Relationship with Microsoft by Macha on Thursday May 28, 2020 @12:40PM (#23339362)
At least for my use case, I haven't really noticed anything missing from podman-compose when I dumped docker-compose for it.

I think ideally they want you to use kube XML for this use case, though I haven't because it doesn't let me associate a named volume with a set of containers. The suggestion is to use bind mounts to the host instead, which feels like an issue for container portability. Podman Compose does not have this limitation

Re:Docker Expands Relationship with Microsoft by hiram112 on Thursday May 28, 2020 @07:23PM (#23344304)
I tried to use the Podman and Podman-compose stack for a large develop docker environment I run locally.

The individual containers build alright, but running the compose with Podman-Compose failed miserably with unhelpful output - just a bunch of Python stack traces. Running it with Docker-Compose just worked.

I think that Docker-Compose is just a lot more lenient with Yaml type errors - where things should and shouldn't be surrounded in quotes. Podman-Compose just needs to be a little more forgiving, and continuing to parse the compose files if the semantics can be assumed, even if the syntax is not perfect.

Re:Docker Expands Relationship with Microsoft by boolcow on Thursday May 28, 2020 @12:22PM (#23339105)
How are they "much better"? Docker works extremely well. I build and run Docker containers all over the place and they Just Work.
Re:Docker Expands Relationship with Microsoft by bgorman on Thursday May 28, 2020 @12:51PM (#23339512)
"Docker" is just the userspace component of a Linux kernel feature. "Docker" doesn't run anything, the kernel does.

Podman has three main advantages over docker: Not needing to run as root, not requiring a daemon in the background and being packaged directly by linux distros.

Re:Docker Expands Relationship with Microsoft by fulafel on Thursday May 28, 2020 @02:41PM (#23340808)
Not so much the distros part, it's not in the latest Ubuntu 20.04 LTS unlike Docker. It's landed in the development branch of Debian though so maybe someday.

(Granted Docker is only in Ubuntu's "universe" section and not as a supported package that would receive security patches etc)

Re:Docker Expands Relationship with Microsoft by bgorman on Thursday May 28, 2020 @04:11PM (#23341999)
It is in Fedora and Arch. Ubuntu generally doesn't really follow any technologies anyone other than Canonical pushes out.
Re:Docker Expands Relationship with Microsoft by boolcow on Thursday May 28, 2020 @01:07PM (#23339725)
1. systemd runs as root, doesn't bother me that docker daemon does as well, since they do similar things (for me). Only users with access to the socket file have access.

2. I like the idea of not having a daemon but never actually had a problem with this in practice. The daemon has never crashed on me. systemd also has daemons that have also never crashed on me.

3. It's like 3 lines to install the official docker package. This is a non-issue for me.

Those do not sound like very meaningful advantages. Certainly not significant enough for me to want to switch from something that Just Works.

Thanks for the reply though. I'll be sticking with Docker.

Re:Docker Expands Relationship with Microsoft by zapita on Thursday May 28, 2020 @04:19PM (#23342068)
The actual advantage of Podman and Buildah is that it is not Docker. Because of the tribal nature of tech communities, that is a desirable property for members of the "anti-Docker" tribe. Everything else is an exercise in retroactively justifying a subjective decision with seemingly objective criteria.

If you don't understand why others are so excited about those tools, it simply means that you're not part of their tribe.

Re:Docker Expands Relationship with Microsoft by rtempaccount1 on Thursday May 28, 2020 @02:51PM (#23340924)
Podman when not run as root has some significant drawbacks (e.g. containers can't communicate with each other). That's not specific to podman it's just hard to do without root.

Podman has long running processes as well, there's a podman process that'll run once you've launched at least one containner, and a conmon for each container (equivalent to containerd-shim)

Packaged directly... it is by RH and SUSE, don't think by debian/ubuntu. At least for ubuntu, 20.04 packages Docker 19.03 just fine.

Re:Docker Expands Relationship with Microsoft by Macha on Thursday May 28, 2020 @03:20PM (#23341266)
Containers within the same pod can certainly communicate with each other without root? I'm running that setup right now for my graylog container and it's mongo and elastic search dependencies
Re:Docker Expands Relationship with Microsoft by rtempaccount1 on Thursday May 28, 2020 @05:33PM (#23342961)
Within the same pod sure, they share the same netns. I was talking about individual container comms.

With rootless podman they use slirp4netns and all get the same IP, with rootful podman or Docker a bridge network is established so that containers that aren't in the same pod can communicate with each other.

Re:Docker Expands Relationship with Microsoft by scaryclam on Thursday May 28, 2020 @01:33PM (#23340045)
Interesting! I now refuse to allow the docker daemon anywhere except a VM on my machine as it does some really stupid things, runs as root etc.

Are there any downsides to podman that you know about?

Re:Docker Expands Relationship with Microsoft by yrro on Thursday May 28, 2020 @01:09PM (#23339748)

    yrro@host$ podman run --rm -it debian:unstable bash -x -c 'id; cat /proc/self/uid_map'
    + id
    uid=0(root) gid=0(root) groups=0(root)
    + cat /proc/self/uid_map
             0  876099160          1
             1     231073      65536
This is done as a regular user with special rights on the system; all that is required are entries for yrro within /etc/subuid and /etc/subgid. There's no equivalent of Docker's daemon that hands out root on the machine to anyone who can connect to its socket.
Re:Docker Expands Relationship with Microsoft by Majestic121 on Thursday May 28, 2020 @12:41PM (#23339392)
I had the exact same question, and for podman one of the selling point is that it's a drop in replacement and you don't need root privilege : https://opensource.com/article/19/2/how-does-rootless-podman...
Re:Docker Expands Relationship with Microsoft by nikanj on Thursday May 28, 2020 @12:32PM (#23339256)
They're newer, and fewer people have heard of them.
Re:Docker Expands Relationship with Microsoft by 0xEFF on Thursday May 28, 2020 @01:10PM (#23339761)
Cut out the middle man. They don’t require the Docker daemon for one, which isn’t necessary. The client/server socket interface is the wrong model, the posix userland and filesystem interfaces to the kernel are a much better fit.
Re:Docker Expands Relationship with Microsoft by pknopf on Thursday May 28, 2020 @12:38PM (#23339334)
Not running as root, for one. There are also many other advantages, such as decoupling the building from the running, and running rootfs tarballs directly, blah blah blah.
Re:Docker Expands Relationship with Microsoft by rb808 on Thursday May 28, 2020 @12:04PM (#23338868)
I've struggled with podman, esp when following tutorials for docker when podman doesn't quite replicate. Is it worth persisting?
Re:Docker Expands Relationship with Microsoft by freedomben on Thursday May 28, 2020 @12:14PM (#23339012)
Yes, it's definitely worth persisting, especially if you use K8s. Podman can import/export Pod objects with the same API as K8s, so it makes it trivial to run the same k8s yaml locally and in a deployed environment.
Re:Docker Expands Relationship with Microsoft by the_duke on Thursday May 28, 2020 @12:31PM (#23339243)
Running a light weight Kubernetes setup like k3s locally is a better solution for that use case, imo.
Re:Docker Expands Relationship with Microsoft by freedomben on Thursday May 28, 2020 @01:05PM (#23339703)
k3s is something I've heard about but know very little. Does it use a VM? I tried skimming their website but couldn't parse that out.
Re:Docker Expands Relationship with Microsoft by the_duke on Thursday May 28, 2020 @01:24PM (#23339956)
No VM, it is just a light weight distribution of Kubernetes that can be effortlessly installed and run on Linux.
Re:Docker Expands Relationship with Microsoft by jkulubya on Thursday May 28, 2020 @12:35PM (#23339296)
I personally feel that any pain you might face with podman is worth it just for the ability to treat container applications just like any other application on your system

https://www.redhat.com/sysadmin/podman-shareable-systemd-ser...

Re:Docker Expands Relationship with Microsoft by harrygeez on Thursday May 28, 2020 @12:16PM (#23339033)
so daemonless (tbh I'm not even sure why is this a good thing) and better security through rootless aside, what are some strong points to switch over?
Re:Docker Expands Relationship with Microsoft by Macha on Thursday May 28, 2020 @12:38PM (#23339333)
Rootless is really the big selling point for me. Means I can just let gitlab CI log in as a specific user to deploy my personal apps, without someone compromising gitlab/my gitlab account giving them root on my personal servers.

The other advantage is that it can setup containers based on kubernetes xml file or export a local setup to a kube xml file. This is because Podman is really aimed at the small scale setups - if you would have used docker-compose with docker, you might consider Podman, but the export lets you prototype with something convenient locally then export a config when you're happy to test on the big complicated tooling.

Re:Docker Expands Relationship with Microsoft by zapita on Thursday May 28, 2020 @12:40PM (#23339361)
I keep hearing this meme that Kubernetes made it hard for Docker to monetize Swarm. But as far as I can tell, Swarm is free and open-source. Docker has never actually charged money for it. What am I missing?
Re:Docker Expands Relationship with Microsoft by fomine3 on Thursday May 28, 2020 @10:43PM (#23345774)
Docker was spun out from dotCloud(Heroku like service) and dotCloud service was sold. I'm curious what if they could monetize from dotCloud.
Re:Docker Expands Relationship with Microsoft by m463 on Thursday May 28, 2020 @05:05PM (#23342612)
telemetry.

docker has a bunch of telemetry.

microsoft is gathering data: linkedin, windows, wsl, github, docker

who's who, and what are they doing, compiling, checking in, deploying