I am slightly embarrassed to say, even when I see all these folks say amazing things about how Docker made their lives easier, I still can't wrap my head around exactly what it is. (This when I KNOW I want jail-like isolation between many of my rails apps on one server) Is it like a jail in BSD? Ok but then what are the chef-like recipes for? (the docker recipe-like stuff is leading me to think that)... I get the ben…
Hey Antonse, Does this presentation help you understand? http://www.docker.io/about/
Docker Hack Day Highlights
11–18 of 18 posts
Re: Docker Hack Day Highlights
#12I am slightly embarrassed to say, even when I see all these folks say amazing things about how Docker made their lives easier, I still can't wrap my head around exactly what it is. (This when I KNOW I want jail-like isolation between many of my rails apps on one server) Is it like a jail in BSD? Ok but then what are the chef-like recipes for? (the docker recipe-like stuff is leading me to think that)... I get the ben…
That's pretty much the gist. It's a VM where snapshots are free, you can clone it at any point and branch off, and it's really lightweight to run. Basically, think of it as the child of VirtualBox and git.
Re: Docker Hack Day Highlights
#13"Sebastian’s team needs docker for a simple reason: they build Debian packages for anything they send to production. But they don’t want to SSH into a build server, clone the git repo, build the package, then copy & upload it. This just takes too long and is annoying." I hope I'm misunderstanding this. Instead of improving their central build infrastructure, they gave up on it and have the developers produce builds f…
Nobody said we gave up on continuous integration. Quite the contrary! We use jenkins and other CI tools on a daily basis. Once we have tools to build debian packages easily in a controlled environment (containers), the CI server will be able to use the same tools to build and test the final package. The advantage here is that a developer can test the whole workflow and build local test/dev packages with the same tool…
Re: Docker Hack Day Highlights
#14Earlier quoted context omitted.
Yeah, it's hard to find the balance between "big picture" explanation and more concrete examples... This wiki page might help: it's full of various Docker resources: articles, tutorials, etc. https://github.com/dotcloud/docker/wiki/Docker-external-reso...
There's also this Pycon lightning talk: http://www.youtube.com/watch?v=wW9CAH9nSLs
Re: Docker Hack Day Highlights
#15Earlier quoted context omitted.
Nobody said we gave up on continuous integration. Quite the contrary! We use jenkins and other CI tools on a daily basis. Once we have tools to build debian packages easily in a controlled environment (containers), the CI server will be able to use the same tools to build and test the final package. The advantage here is that a developer can test the whole workflow and build local test/dev packages with the same tool…
I'm glad to hear I was reading too much into the summary. So you plan to use docker as a replacement for tools like pbuilder?
Of course, building packages is just one of many use cases. You also want to test the installation of the new package, run integration tests...
Re: Docker Hack Day Highlights
#16Re: Docker Hack Day Highlights
#17Interesting to see emacs on its lonesome in one of those boxes. How does that work? Emacs client into an exposed port or something else?
(defun create-docker-terminal (buffer-name) (interactive "sshell name: ") (ansi-term "~/docker/launch.sh") (rename-buffer buffer-name t)) (global-set-key (kbd "C-c d") 'create-docker-terminal)
In your launch.sh
docker run -u user -i -t -v local-dir:dir-inside-container /bin/bash --rcfile your-rc-file
Re: Docker Hack Day Highlights
#18Interesting to see emacs on its lonesome in one of those boxes. How does that work? Emacs client into an exposed port or something else?
In your .emacs (defun create-docker-terminal (buffer-name) (interactive "sshell name: ") (ansi-term "~/docker/launch.sh") (rename-buffer buffer-name t)) (global-set-key (kbd "C-c d") 'create-docker-terminal) In your launch.sh docker run -u user -i -t -v local-dir:dir-inside-container /bin/bash --rcfile your-rc-file