Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker support #57

Open
ccremer opened this issue Aug 10, 2017 · 4 comments
Open

docker support #57

ccremer opened this issue Aug 10, 2017 · 4 comments

Comments

@ccremer
Copy link
Contributor

ccremer commented Aug 10, 2017

Hi there

I just wanted to inform you that I created a docker image for this project. It's available on Docker Hub or on github. If you make you own build, you can connect docker hub with github so that a new image gets automatically built upon pushing or tagging a commit.

cheers

@jamesoff
Copy link
Owner

This is cool, I shall have to have a play :) Thanks!

@jamesoff
Copy link
Owner

Well I had a play with it and made it run (I've not used docker-compose before), seems like a nice setup.

Mind if I link to your image on Docker hub in the docs?

@ccremer
Copy link
Contributor Author

ccremer commented Aug 20, 2017

sure, no problem. I only use compose. It's much easier to store all the configuration in files than to remember the commands for all the ~20 containers I'm running.

Do you use an IDE? e.g. PyCharm CE features a docker plugin which allows you to build the container directly from the git repo. Instead of git clone in the image layers one can directly add/copy the relevant files.

Personally I recommend Docker Cloud over Hub, which allows better build automation settings than Docker Hub, but the image get pushed to Docker Store and Hub. Setup an automated build in Hub, then login in Cloud and modify the settings there. Deactivate the automated build settings in Hub. When you commit to the selected branch or by tag, Cloud picks up the git repo and builds it immediately. Does that make sense? ^^

Feel free to copy my Dockerfile to get you started.

@jamesoff
Copy link
Owner

vim 4 lyfe :P

I'll have a play around... I've used docker a little mostly just for automated tested of Chef cookbooks, so generally it just fires up a single container :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants