tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp is operating on host filesystem instead of container filesyste


From: Camden Narzt
Subject: Re: Tramp is operating on host filesystem instead of container filesystem
Date: Tue, 12 May 2020 10:09:31 -0600

Perhaps I was mistaken about the similarity of my code to the docker-tramp package, I just found it here: https://www.emacswiki.org/emacs/TrampAndDocker and made some small changes to get the external commands working. As I understand it, the advice intercepts completion in order to special case the host completion when the protocol is “docker:". But if tramp has a better way for me to provide this completion then I’m 100% willing to do that instead.

On May 12, 2020, at 3:37 AM, Michael Albinus <address@hidden> wrote:

Camden Narzt <address@hidden> writes:

Hi Camden,

I'm using a slightly modified version of the usual docker tramp
integration (below) which works fine to complete up to
/docker:container_name: but where it goes wrong is it opens files on
the host computer, and performs completion from the host file-system
instead of in the container.

Before we start to analyze your problem, I'd like to understand what
the defadvice is good for. docker-tramp.el from MELPA doesn't need it.

Best regards, Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]