Replies: 1 comment 3 replies
-
Another question, is there a way I can forward the ports e.g. from a remote Linux machine (running podman) to the workstation machine (Windows/Linux) that connects via |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I recently jumped over
podman machine init
/podman machine start
on Linux. (Previously I knew it from Windows).Using podman 4.3.1 I did
both worked fine. Using
I can talk to this VM in background. I then had the idea that it should be possible to access this VM from the outside e.g. from a windows machine.
Approach 1 - SSH directly
I tried to access the VM directly from the outside.
Linux:
Windows
Copy private key
/home/<user>/.ssh/podman-machine-default
from Linux to WindowsC:\Users\<user>\.ssh\podman-machine-remote
.This doesn't seem to work as the used
gvproxy
listens onlocalhost
/127.0.0.1 only.Which is okay from my point of view.
Approach 2 - using the socket
I then tried to access the VM using the socket
Linux
Windows:
generates the following error
Which brings me to the question. Is it intended that a VM created using
podman machine init
/podman machine start
is accessed from the outside?Beta Was this translation helpful? Give feedback.
All reactions