Skip to content

Conversation

@LionyxML
Copy link
Contributor

@LionyxML LionyxML commented Nov 7, 2024

Hello there!

I've recently covered docker.el in a blog post (https://www.rahuljuliato.com/posts/emacs-docker-podman), and people got really exited about it.

One """limitation""" is that on some systems I can only use podman and even customizing docker-command and docker-compose-command to 'podman' and 'podman-compose' there are still limitations, most noticeable with the 'shell' commands.

So I stepped ahead and extracted the /docker: prefixes into into a customizable variable, we can now use podman with the docker-container.el sub-module.

I tested on eshell, shell, vterm and eat.

This commit:

  • Introduced docker-container-tramp-method to allow selection of TRAMP method, enabling compatibility with Docker or Podman.

  • Refactored all Emacs shells to use the new variable for container connections, improving flexibility and cross-tool support.

@Silex
Copy link
Owner

Silex commented Nov 8, 2024

Thanks looks neat. Just address the comment and I'll merge.

- Introduced `docker-container-tramp-method` to allow selection of
TRAMP method, enabling compatibility with Docker or Podman.

- Refactored all Emacs shells to use the new variable for container
connections, improving flexibility and cross-tool support.
@LionyxML
Copy link
Contributor Author

LionyxML commented Nov 8, 2024

Fixed, rebased and force pushed to keep the history clean.

@Silex Silex merged commit ec2391a into Silex:master Nov 11, 2024
@Silex
Copy link
Owner

Silex commented Nov 11, 2024

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants