mirror of
https://github.com/containers/podman.git
synced 2025-09-19 00:56:15 +08:00

Escape the two dashes, otherwise they are combined into one long dash. I tested that this change is safe and still renders correctly on github and with the man pages. This commit also contains a small change to make it build locally. Assuming you have the dependencies installed you can do: ``` cd docs make html ``` Preview the html files in docs/build/html with `python -m http.server 8000 --directory build/html`. Fixes containers/podman.io#373 Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
843 B
843 B
% podman-machine-ssh(1)
NAME
podman-machine-ssh - SSH into a virtual machine
SYNOPSIS
podman machine ssh [options] [name] [command [arg ...]]
DESCRIPTION
SSH into a Podman-managed virtual machine.
Podman on MacOS requires a virtual machine. This is because containers are Linux - containers do not run on any other OS because containers' core functionality are tied to the Linux kernel.
OPTIONS
--execute, -e
Execute the given command on the VM
--help
Print usage statement.
EXAMPLES
To get an interactive session with a VM called myvm
:
$ podman machine ssh myvm
To run a command on a VM called myvm
:
$ podman machine ssh -e myvm -- rpm -q podman
SEE ALSO
podman-machine (1)
HISTORY
March 2021, Originally compiled by Ashley Cui acui@redhat.com