Homepage: https://github.com/bjc/tramp-nspawn
Author: Brian Cully
Updated:
Tramp integration for systemd-nspawn containers
‘tramp-nspawn’ allows Tramp access to environments provided by systemd-nspawn. ## Usage Call ‘tramp-nspawn-setup’ in your Emacs initialization. (add-hook 'after-init-hook 'tramp-nspawn-setup) Open a file on a running systemd-nspawn container: C-x C-f /nspawn:USER@CONTAINER:/path/to/file Where: USER is the user on the container to connect as (optional) CONTAINER is the container to connect to ## Privileges systemd-nspawn and its container utilities often require super user access to run, and this package does not escalate privileges in order to accomplish that. One way of working around this using Tramp’s built-in multi-hop facilities with doas or sudo to raise your privileges. Another possibility is using polkit(8) to allow specific users access to the requisite services (machinectl).