News for hackers. Stuff that matters.
Re:What's new in Docker 1.13: prune, secrets, checkpoints an... by StavrosK on Tuesday January 31, 2017 @06:22AM (#13529644)
My experience has been that it's great for local develoment, if your app is reasonably complex (ie Docker doesn't make sense if you only have an app worker and SQLite database), but I don't love it for production. In order for Docker to work well on production, you need something like Kubernetes, and that's a huge hassle for a small app.
Re:What's new in Docker 1.13: prune, secrets, checkpoints an... by majewsky on Tuesday January 31, 2017 @06:59AM (#13529801)
I don't think that Kubernetes is the most important thing on prod. Some colleagues from another team at $WORK use plain Docker and "orchestrate" their containers with simple systemd units that run `docker stop|start`. If the app is only a single container, that should do it. (Actually, in that case, I think that `rkt run` would be better since the process runs below the same cgroup, and systemd can detect crashes and restart the container.)

Anyway, Kubernetes is not so important for small deployments, but what I've found really helpful is CoreOS: an auto-updating base OS that gets out of the way and (more importantly) ships a combination of Linux kernel + Docker that usually works really well.

Re:What's new in Docker 1.13: prune, secrets, checkpoints an... by bradmwalker on Tuesday January 31, 2017 @07:48AM (#13530049)
Recent versions of systemd-nspawn can directly download a docker image and run it in a service unit.
Re:What's new in Docker 1.13: prune, secrets, checkpoints an... by akavel on Tuesday January 31, 2017 @07:09AM (#13529853)
What about docker-compose? We've recently started using it, and we don't see any problems; did your colleagues evaluate it?
Re:What's new in Docker 1.13: prune, secrets, checkpoints an... by kingrolo on Tuesday January 31, 2017 @07:33AM (#13529958)
docker-compose is really straightforward to get running, even moreso with docker-machine, and it gives you dev/prod parity, but the downside is that there's not a built in way to do zero downtime deploys.
Re:What's new in Docker 1.13: prune, secrets, checkpoints an... by RabbitmqGuy on Tuesday January 31, 2017 @08:43AM (#13530411)
Actually with the new docker-compose version 3 you can do rolling updates[1]. 1. https://docs.docker.com/compose/compose-file/#/deploy
Re:What's new in Docker 1.13: prune, secrets, checkpoints an... by bpicolo on Tuesday January 31, 2017 @08:58AM (#13530529)
That doesn't suggest zero downtime though, no? Still needs an LB to know to stop routing to that host for a moment.
Re:What's new in Docker 1.13: prune, secrets, checkpoints an... by StavrosK on Tuesday January 31, 2017 @01:00PM (#13533273)
That's how I do deployments, but they take a while to start/stop. Whereas, with uwsgi, for example, deployments are zero-downtime, since uwsgi loads a new interpreter and uses that for new connections from that point on, without interrupting any old connections.