I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

  1. #+TITLE: Docker
  2. #+AUTHOR: Christopher James Hayward
  3. #+EMAIL: chris@chrishayward.xyz
  4. #+PROPERTY: header-args:emacs-lisp :tangle docker.el :comments org
  5. #+PROPERTY: header-args:shell :tangle no
  6. #+PROPERTY: header-args :results silent :eval no-export :comments org
  7. #+OPTIONS: num:nil toc:nil todo:nil tasks:nil tags:nil
  8. #+OPTIONS: skip:nil author:nil email:nil creator:nil timestamp:nil
  9. Interact with Docker[fn:1] inside of Emacs.
  10. * Setup
  11. Make sure you have the required components installed on your system before loading the module.
  12. #+begin_src shell
  13. RUN apt install -y docker docker-compose
  14. #+end_src
  15. * Config
  16. 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.
  17. #+begin_src emacs-lisp
  18. (use-package docker
  19. :commands (docker))
  20. #+end_src
  21. * Shortcuts
  22. Open the container management screen with =SPC k=.
  23. #+begin_src emacs-lisp
  24. (dotfiles/leader
  25. "k" '(docker :which-key "Docker"))
  26. #+end_src
  27. * Footnotes
  28. [fn:1] https://docker.com
  29. [fn:2] https://github.com/Silex/docker.el