GNU ELPA - tramp-nspawn

tramp-nspawn

Description
Tramp integration for systemd-nspawn containers
Latest
tramp-nspawn-1.0.tar, 2022-Feb-20, 10.0 KiB
Maintainer
Brian Cully <bjc@kublai.com>
Website
https://github.com/bjc/tramp-nspawn
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package, run in Emacs:

M-x package-install RET tramp-nspawn RET

Full description

1 Introduction

nspawn-tramp adds support for systemd-nspawn containers with Emacs’ TRAMP system.

2 Installation

2.1 ELPA

This package is available on GNU ELPA and can be installed with M-x package-install RET nspawn-tramp RET from within Emacs itself.

2.2 Direct download

Download this repository to some location, then add the following to your Emacs initialization:

(add-to-list 'load-path "/path/to/nspawn-tramp")
(require 'nspawn-tramp)

3 Usage

Call nspawn-tramp-setup to add support:

(add-hook 'after-init-hook 'nspawn-tramp-setup)

Use TRAMP as normal to access files on a container:

C-x C-f /nspawn:user@container:/path/to/file