docs(docker): use after! & don't recommend use-package!

This commit is contained in:
Henrik Lissner 2024-03-22 14:24:19 -04:00 committed by Yann Esposito (Yogsototh)
parent 0cb9efcbca
commit 4f914f3e56
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -95,14 +95,8 @@ C-x C-f /docker:$USER@$CONTAINER:/path/to/file
Thanks to [[https://github.com/magit/magit-popup][magit-popup]], all the popups default arguments can be customized. For Thanks to [[https://github.com/magit/magit-popup][magit-popup]], all the popups default arguments can be customized. For
example, here is how to customize the arguments for =docker-image-run-popup=: example, here is how to customize the arguments for =docker-image-run-popup=:
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq docker-image-run-arguments '("-i" "-t" "--rm")) (after! docker
#+end_src (setq docker-image-run-arguments '("-i" "-t" "--rm")))
or inside a =use-package= declaration:
#+begin_src emacs-lisp
(use-package! docker
:bind ("C-c d" . docker)
:custom (docker-image-run-arguments '("-i" "-t" "--rm")))
#+end_src #+end_src
*** Other useful variables *** Other useful variables