Anybody wanting to try out Docker + GoLang + AWS Beanstalk, I've made a sample app / guide here - https://github.com/OrganicCoffeeNepal/DockerBeanstalkSample
Thanks for the link. Is Beanstalk worth it? Is it cheaper than an ec2 instance?
Docker Jumpstart
41–45 of 45 posts
Re: Docker Jumpstart
#42Earlier quoted context omitted.
That's why you want to use volumes for mutable data such as your source code repo - you isolate the changing parts and keep the containers static.
But if the source is mutable data, what isn't? Everything eventually mutates - dependencies have updates, configurations change, etc. Isn't the point of images that you "freeze" a static release that can be deployed everywhere? It seems that by that point you've lost the advantage of using images; if parts of the system must be loaded outside of the container, it seems you might as well simply use a configuration man…
For me, mounting my local app files as a volume is useful during development since it keeps the workflow fast. I don't have to rebuild the image every time I want to try the app out, I get to use the new code without delay.
If I were deploying as a container, I presume my build process would check the app out of git and build the image based on that fresh checkout. I'm just using Docker as a convenient way of simulating my production environment (dev'ing on Ubuntu 15.04, but deploying to Debian 7), and still be able to iterate rapidly.
Re: Docker Jumpstart
#43Earlier quoted context omitted.
But if the source is mutable data, what isn't? Everything eventually mutates - dependencies have updates, configurations change, etc. Isn't the point of images that you "freeze" a static release that can be deployed everywhere? It seems that by that point you've lost the advantage of using images; if parts of the system must be loaded outside of the container, it seems you might as well simply use a configuration man…
I know, I'm a little late to this party, but just in case anyone is still around... :) For me, mounting my local app files as a volume is useful during development since it keeps the workflow fast. I don't have to rebuild the image every time I want to try the app out, I get to use the new code without delay. If I were deploying as a container, I presume my build process would check the app out of git and build the i…
Re: Docker Jumpstart
#44Earlier quoted context omitted.
For some reason I found docker very unintuitive, even writing a simple build script was confusing. I agree, this book would have done a much better job of introduction than the docker site.
Out of interest, what did you find confusing/unintuitive? I'm writing a book on Docker so am interested in where the pain points are.
Re: Docker Jumpstart
#45Earlier quoted context omitted.
Out of interest, what did you find confusing/unintuitive? I'm writing a book on Docker so am interested in where the pain points are.
It was mostly how we wanted to use it at my company. It didn't seem clear whether docker should just set up the system (apt-get, pip install) or also checkout the code. To add to the complexity, we have a puppet script we run on the machine to install dependencies. I had no idea how Docker who supposed to fit into this pipeline. So basically, I didn't know what docker was supposed to be good at, i.e. do better than o…
You might be interested in my blog and book:
http://zwischenzugs.wordpress.com/
There are links through there to my book, where the first chapter is free to download, and may help. Let me know if you have any feedback.