[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 152c7322c1: * lisp/net/tramp-docker.el: New file.
From: |
Michael Albinus |
Subject: |
Re: master 152c7322c1: * lisp/net/tramp-docker.el: New file. |
Date: |
Thu, 29 Sep 2022 19:28:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
miha@kamnitnik.top writes:
Hi Miha,
>> +(defcustom tramp-docker-program "docker"
>> + "Name of the Docker client program."
>> + :type '(choice (const "docker")
>> + (const "podman")
>> + (string))
>> + :group 'tramp-docker)
>
> It's not unusual to have both podman and docker containers on the same
> host. But the way tramp-docker.el is arranged currently, it's difficult
> to have simultaneous tramp connections to both of them. I think it would
> make sense to have two tramp methods: '/docker:' and '/podman:', and by
> extension, two defcustoms: tramp-docker-program and
> tramp-podman-program.
I agree. Especially, when we have multi-hops to different machines,
which could offer either docker or podman executables.
Brian?
Best regards, Michael.