Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman needs a remoting ability similar to DOCKER_HOST #2276

Closed
ssbarnea opened this issue Feb 6, 2019 · 3 comments
Closed

podman needs a remoting ability similar to DOCKER_HOST #2276

ssbarnea opened this issue Feb 6, 2019 · 3 comments
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@ssbarnea
Copy link
Collaborator

ssbarnea commented Feb 6, 2019

If podman is it be considered a drop-in replacement for docker cli, we also need to provide a way to run commands remotely.

Docker cli and also its python library (used by Ansible) is using DOCKER_HOST=tcp://host:port or even DOCKER_HOST=ssh://host starting with version 18.09 which is quite handy for doing operations remotely, especially from laptops where you may not want to run heavy tasks on your own host (or where your localhost platform has some other limitations).

If we make this work we may be able to mitigate challenges like #1840 . When remoting all/most commands could be send to the remote machine so the local client could be very thin.

I would personally would not mind even if the only supported protocol would be ssh as this would be very easy and safe to use.

If implemented I expect the two commands to have the same result:

ssh myhost podman ps

export PODMAN_HOST=ssh://myhost
podman ps

This is quite important because it would allow use to implement fallback logics like below were we use whatever tool is available (useful for testing code locally, tox,...)

TOOL=`which podman docker | head -1`
$TOOL pull centos:7
....
@mheon
Copy link
Member

mheon commented Feb 6, 2019

We're working on this at present (@baude and @jwhonce are working on porting Podman's CLI to allow it to be used with the Varlink API as well, allowing calls to remote systems)

@rhatdan
Copy link
Member

rhatdan commented Feb 6, 2019

Yes look at the podman_remote work. We would love to have you play with it and see what you think

@baude
Copy link
Member

baude commented Feb 13, 2019

can we close this issue unless there is a specific problem? have you had a chance to peek at the remote-client?

@rhatdan rhatdan closed this as completed Feb 23, 2019
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

4 participants