Skip to content

Instantly share code, notes, and snippets.

@maxov
Created December 16, 2014 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxov/5915101022735d4bb70e to your computer and use it in GitHub Desktop.
Save maxov/5915101022735d4bb70e to your computer and use it in GitHub Desktop.
23:02 gratimax: turt2live: ehh
23:02 gratimax: here's a very high-level overview of docker:
23:03 gratimax: it uses libcontainer, which allows you to run virtual linux containers with very little overhead
23:03 gratimax: now, it has images which are very much like git commits - they're versions of an entire machine with filesystem and OS and such
23:03 gratimax: we "run" an image to get a container, which is like the VM
23:04 gratimax: but here's the really cool thing
23:04 gratimax: you can pull an image from the docker repository(takes a few minutes), but then running containers out of it takes seconds
23:04 gratimax: so there's no "building" if you already have an image that you want to run
23:05 gratimax: however, you will probably use a Dockerfile to build a new image to run your PRs in, but after the image is built you can deploy it to the docker hub and spin up containers very easily
23:06 gratimax: vagrant does some similar stuff, but it does use a VM which I consider as unecessary overhead compared to docker containers
23:06 gratimax: the containers are 100% isolated, just like a vm. you can remove the whole system with no damage to the host
23:07 Kaz|stuff has left IRC (Ping timeout: 198 seconds)
23:07 Jckf has left IRC (Ping timeout: 198 seconds)
23:07 drawesome has left IRC (Ping timeout: 198 seconds)
23:07 maldridge: gratimax: actually, you can use vagrant to drive docker
23:07 gratimax: maldridge: yes, if you wish...
23:07 ZephireNZ has left IRC (Ping timeout: 198 seconds)
23:08 maldridge: the big plus is that it is a layer of abstraction to the virtual system, so it is significantly easier to put somewhere that you might not be able to, or wish to, run docker
23:08 FerusGrim has left IRC (Ping timeout: 198 seconds)
23:08 gratimax: well I assume if turt2live deploys to linux boxes it won't be a problem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment