Using the docker-tramp package from Melpa (installed via package-list-packages) the file path portion of the completion still shows the files on the host filesystem, and opens files on the host OS when I write a path manually.
So the Melpa package behaves the same as my cut&paste version, even though the code is different. I wasn’t under the impression that the Tramp team had written the emacswiki code or the melpa package, however when I asked elsewhere for help debugging my problem, I was told to ask for help here. > On May 12, 2020, at 10:19 AM, Michael Albinus <[email protected]> wrote: > > Camden Narzt <[email protected]> writes: > > Hi Camden, > >> 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. > > Neither the docker-tramp package, nor the code snippet from emacswiki > you have quoted, are from "the Tramp team" (C). However, I have used the > docker-tramp package occasionally, and it worked. That's why I have > recommended it. > > Does it work for you? > > Best regards, Michael.
