#+TITLE: Docker #+AUTHOR: Christopher James Hayward #+EMAIL: chris@chrishayward.xyz #+PROPERTY: header-args:emacs-lisp :tangle docker.el :comments org #+PROPERTY: header-args:shell :tangle no #+PROPERTY: header-args :results silent :eval no-export :comments org #+OPTIONS: num:nil toc:nil todo:nil tasks:nil tags:nil #+OPTIONS: skip:nil author:nil email:nil creator:nil timestamp:nil Interact with Docker[fn:1] inside of Emacs. * Setup Make sure you have the required components installed on your system before loading the module. #+begin_src shell RUN apt install -y docker docker-compose #+end_src * Config It's possible to interact with Docker[fn:1] inside of Emacs through the ~docker.el~[fn:2] plugin. It provides rich support for working with containers, images, compose networks, and has bindings for using machine. #+begin_src emacs-lisp (use-package docker :commands (docker)) #+end_src * Shortcuts Open the container management screen with =SPC k=. #+begin_src emacs-lisp (dotfiles/leader "k" '(docker :which-key "Docker")) #+end_src * Footnotes [fn:1] https://docker.com [fn:2] https://github.com/Silex/docker.el