News for hackers. Stuff that matters.

ASK HN: How do you use Docker?

I'm trying to understand its advantages and when I think I can't find any useful real-world scenarios. So, I'd like to hear how do people use Docker?
( 1 comment | 3 points | on HN )
Re:ASK HN: How do you use Docker? by haches on Thursday October 01, 2015 @06:05AM (#10310175)
At http://codeboard.io we use them to compile and execute the user-written programs.

I guess that's not the typical use of Docker because there are a number of security concerns. We do a number of things to mitigate those but isolation is not as good as with a full VM.

However, containers are so fast that we can create -> execute -> destroy containers for every single "compile" and "run" action.

Another big advantage, imho, is the Docker Remote API [1] which makes it very easy to integrate Docker in your app.

[1] https://docs.docker.com/reference/api/docker_remote_api_v1.2...