add README.org

This commit is contained in:
2026-05-21 23:24:59 +00:00
parent 6c21d613d9
commit 13f721a03d
3 changed files with 41 additions and 5 deletions
-2
View File
@@ -1,2 +0,0 @@
# incus-tramp
+36
View File
@@ -0,0 +1,36 @@
* incus-tramp - TRAMP integration for Incus containers
=incus-tramp= is a simple intermediary layer which implements communication
logic between =TRAMP= and the =incus= CLI in order to access containers
similarly to how it is implemented for Docker, Podman, and other programs.
** Key features:
- Connection to running Incus containers via the standard TRAMP interface.
- Access/editing of files within containers, as well as copying/moving files
to/from containers.
- Autocompletion from a list of running containers.
- Access to containers via multi-hop connections (e.g., =ssh -> ssh -> incus=).
** Configuration
#+begin_src emacs-lisp
(use-package incus-tramp :ensure nil :after tramp :vc
git@github.com:mdnight/incus-tramp.git :config (incus-tramp-enable-method))
#+end_src
** Usage
This package implements the TRAMP method =incus= to access running containers:
#+begin_example
C-x C-f /incus:container:/path/to/file
where
container is the name of the container. Names are normally equal to
names in the output of the command "incus list --columns=n".
#+end_example
This package was inspired by the original [[https://gitlab.com/lckarssen/incus-tramp][incus-tramp]] package created by [[https://gitlab.com/lckarssen][Lennart C. Karssen]]
+5 -3
View File
@@ -11,18 +11,20 @@
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify ;;; License:
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by ;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or ;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version. ;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful, ;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details. ;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License ;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary: ;;; Commentary: