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.
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...