Live data from Hacker News

Getting Started with Docker

serversforhackers.com

71–78 of 78 posts

Re: Getting Started with Docker

#71

I wish that people would stop writing tutorials on "getting started" with Docker, and actually start writing up examples of how to work with multiple containers, hosts, and linking. That's the part that I (and I'm sure other beginners) get totally stuck on. Anyone can do docker commit/pull.

I actually haven't found many getting started articles, which is why I wrote this. However I fully plan on writing up more interesting stuff.

Re: Getting Started with Docker

#73

Earlier quoted context omitted.

the comment below by user: pg_fukd_mydog Pointed out that FreeBSD jails do this right.

What is that username, something from reddit? I really have no interest in FreeBSD.

To be clear - I think FreeBSD is an awesome project and the jails look solid, but it is really the Docker community and exploding Docker ecosystem that makes Docker appealing to me. For example, Red Hat embracing Docker means that I can build Docker containers for enterprises that embrace CentOS and Red Hat. None of the corporations or organizations I have worked with use or support FreeBSD, but they all support CentOS. Reference: http://www.infoworld.com/t/application-virtualization/red-ha...

Re: Getting Started with Docker

#74
post #69

Earlier quoted context omitted.

SkyDNS looks interesting, but it doesn't appear to do any heath checks on the endpoint. I don't want clients to receive an answer to an A record query that contains the IP address of an endpoint that is down. Am I mistaken?

You probably don't want a healthcheck done for every DNS request. Better to have a healthcheck service doing healthchecking, and modify SkyDNS along with whatever else happens when a service goes down.

In order to be robust in the event of a network partition, the client should perform the the health check itself. This can be done in a background thread; it doesn't have to be synchronous with the DNS lookup (and that would be very bad for performance anyway).

Re: Getting Started with Docker

#75

I wish that people would stop writing tutorials on "getting started" with Docker, and actually start writing up examples of how to work with multiple containers, hosts, and linking. That's the part that I (and I'm sure other beginners) get totally stuck on. Anyone can do docker commit/pull.

I have been enjoying some of the tutorials on the Century Link Labs blog: http://www.centurylinklabs.com/category/docker-posts/

Re: Getting Started with Docker

#76

I wish that people would stop writing tutorials on "getting started" with Docker, and actually start writing up examples of how to work with multiple containers, hosts, and linking. That's the part that I (and I'm sure other beginners) get totally stuck on. Anyone can do docker commit/pull.

Also, airbnb's synapse looks pretty amazing for linking and service discovery as mentioned in this comment https://news.ycombinator.com/item?id=7443803

Re: Getting Started with Docker

#77
post #3

This skips over the hard part: managing docker containers. Poking a hole directly to the container is a leaky abstraction. A reverse proxy like HAProxy or Varnish should be sitting in front of the container. Once you have the reverse proxy setup the next problem that arises is routing to containers based on the domain. Now your HAProxy or Varnish config is going to get bloated and every time you deploy a container th…

A colleague of mine recently wrote a post about automating an Nginx reverse proxy for Docker containers:

http://jasonwilder.com/blog/2014/03/25/automated-nginx-rever...

Re: Getting Started with Docker

#78

I wish that people would stop writing tutorials on "getting started" with Docker, and actually start writing up examples of how to work with multiple containers, hosts, and linking. That's the part that I (and I'm sure other beginners) get totally stuck on. Anyone can do docker commit/pull.

I found this to be interesting, specifically walks through a 2 container deployment http://blog.tutum.co/2014/02/06/how-to-build-a-2-container-a...
Post reply on HN