126 points · by carlchenet · 11y ago · 86 comments
My tiny company pays them for private repositories as part of our deployment process. (Push to Github, Docker Hub makes automated build, built Docker image gets sent to AWS ElasticBeanstalk). It's worth the $7 a month for the convenience of not doing the builds and hosting the images ourselves.
Not saying it's going to turn into a business model that will justify that valuation, just that it does at minimum provide a value I'm willing to pay a small amount for.
Betting $100M+ needs real return. xD
Docker seems to be much closer to Atlassian. Which could well be their biggest competitor one day.
Docker is simply amazing. I'm currently using Grunt to manage the images/containers, but Docker Compose will replace some of that in the future.
That being said, here are what you should expect:
1. It's not a VM. What work in DEV will not work in PRODUCTION. Be ready for some nasty debugging.
2. It's better to use the same OS (e.g. Centos) for both DEV and PRODUCTION.
3. Image sizes are not really small. Docker is consuming around 4GB of space for 6 containers.
4. Sometimes it breaks. I just need to destroy the whole thing and start clean. But that's Grunt ReRerun. And it works nicely.
5. I can update the code base, data, the applications, the whole OSes structure with Grunt ReRun. Takes a couple minutes.
I was resistant to it at first as they'd just started using it in the company when I arrived, but the devs kept talking about how wow it was. Fast forward to today, and not a single dev has it installed on their machine. None of them are interested.
Docker solves problems for developers, and soon it might solve problems in production. But for large deployments, that day is not today.
Sure there is. Systemd will actually do this for you.
Docker recently eschewed LXC, and I'm still not sure I understand exactly why, but even after the move to libcontainer, systemd is capable of handling this.
Granted I can go without it, but currently it makes lots of sense to use it since I need the ability to nicely handle dependencies.
I'm using Grunt for handling the creation, destruction and running of the containers. Docker Compose didn't exist back then.
he told me that the company still hasn’t spent most of its Series B funding yet
They raised a $15M Series B that they haven't even burned through, and yet they've raised a $40M Series C and another $95M D round? That is crazy.Raising money when the VCs are willing to throw it at you is a good strategy when you know you'll burn through alot.
Yes. Doesn't it also indicate that you are giving a lot of the company up at the current valuation? ie: you are betting that a (near-term) future valuation is lower, so you want to lock in the money now.
Or, you know, you think the money now effects the long-term valuation such that, if the current owners are giving up x proportion of the company in the proposed round, with v0 as the anticipated future value of the company if the round doesn't happen and v1 as the anticipated future value if it does, the owners think that v0 < v1×(1-x)
All of this was free. Setting up a private registry takes about thirty minutes. Orchestration via ansible is also free.
I'm "calling top" in the most cheeky way possible, so be need to get your back up. I love docker and use it heavily. It is a brilliant product, but the brilliance to me is also in the fact that you really don't need much else beyond the basics. And I realize that they are moving incredibly fast and there is potential to see something that will blow my mind and cause me to open my wallet.
If you're an enterprise user coming from Microsoft world, maybe paying for docker services makes sense. I prefer to just take an hour and do it myself for the cost of infrastructure.
- Those of you using it in production, how are you handling security?
- How secure has Docker proven to be in general?
You can argue that the docker daemon itself (which is a big monolithic process running as root) is a security issue (RedHat certainly do). You can also argue that it makes security processes harder, as you dont have workflows in place to audit containers, make sure they are updated etc, but thats a different issue.
User namespaces are going to be really complicated to work with not really convinced they are the panacea people expect. Not running as root is much easier!
This distinction is important because it's why, in practice, Docker's current approach has proven to be more secure than user namespaces. User namespaces allow various operations that would be outright denied under a Docker container's very-real-but-very-limited root user.
However, yes, user namespaces are coming to Docker. It's a highly desired feature and eventually userns will mature.
Very little compared to hardware-assisted virtualization like KVM. Unfortunately LXC containers are not designed with security in mind and, together with the rest of the kernel, provide a big attack surface.
Might just be limited to my use case for Docker, but so far it's security agnostic.
It's an interesting phrase: 'to officially be used in production'. Who is the official that officially signs docker to be ready? ;-)
So far I've perceived Docker to be like virtualenv for python - useful but orthogonal to any security practices.