emacs-pe / docker-tramp.el

TRAMP integration for docker containers
340 stars 25 forks source link

Is a dedicated method required for Podman? #32

Open mavit opened 3 years ago

mavit commented 3 years ago

In pull request #30 we show how to use docker-tramp with Podman containers by customising docker-tramp-docker-executable to podman.

However, this isn’t much good if you’re in a mixed environment and want to be able to TRAMP to both Docker and Podman containers at the same time. I wonder if sufficient people are in this position to make it worth creating a dedicated podman TRAMP method?

bkhl commented 3 years ago

I think this would be necessary to use Podman locally but Docker on other hosts when hopping, or am I wrong?

mavit commented 3 years ago

You could work around it by having podman system service stand in for dockerd, so that you could configure /usr/bin/docker to operate on Podman containers, but otherwise yeah.

bkhl commented 3 years ago

I think just having docker be a symlink to podman would also work, but the fewer workarounds I need to do on the host system the happier I am, so feel free to include me in the count for sufficient people.

djeis97 commented 2 years ago

I'm also in that boat, dedicated method for podman would be nice.