- An example of using Org mode, babel, and tangle to set up a shell session with a docker environment, generate a Dockerfile, build a named docker image, and run it with a shared directory.
- Edit the sdt.org file (in an emacs that supports orgmode, e.g, 24)
- Run the setup shell source blocks (using C-c C-c and respond yes to prompts))
- Generate the build/Dockerfile (using C-c C-v t in the dockerfile source block)
- Run the remaning shell source blocks
- Edit the sdt.org file
- Export to html (C-c C-e h o and then respond yes to prompts)
Browse sample output
- Mac OS X
- Docker Toolkit
- Emacs 24.5.1
- ~/.emacs/init.el customizations
(org-babel-do-load-languages 'org-babel-load-languages '((sh . t) ))