podman-compose icon indicating copy to clipboard operation
podman-compose copied to clipboard

Add --remote option

Open thomas-huegel opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. I would like to use podman-compose against a remote server.

Describe the solution you'd like I would like to be able to put a --remote option on the command line. It would be forwarded to the underlying podman command.

Thanks!

thomas-huegel avatar Feb 19 '24 14:02 thomas-huegel

The feature would be really appreciated, both for Windows users who use VMs and Linux users who run podman under a rootless user account.

The separate but related issue is that --remote option is (most probably) silently ignored. I tried using compose with --remote flag and instead of failing it created containers under my account without any warnings.

quixoticaxis avatar Jul 11 '24 18:07 quixoticaxis

You can set the environment variable CONTAINER_HOST=ssh... or unix... and then podman runs in remote mode whith this host by default, without the flag, and compose works too

eleloi avatar Dec 20 '24 00:12 eleloi

podman-compose systemd --action register does not seem to work remotely with CONTAINER_HOST.

Iizuki avatar Jul 10 '25 07:07 Iizuki