mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
Update podman-for-windows.md
Remedy for "ssh: rejected" error commonly seen in corporate PC with reduced permissions. Signed-off-by: Michael Chen <4326639+mcgitty@users.noreply.github.com>
This commit is contained in:
@@ -126,6 +126,23 @@ PS C:\Users\User> podman run ubi8-micro date
|
||||
Thu May 5 21:56:42 UTC 2022
|
||||
```
|
||||
|
||||
If you get this error instead:
|
||||
|
||||
```
|
||||
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
|
||||
Error: unable to connect to Podman socket: Get "http://d/v5.7.1/libpod/_ping": ssh: rejected: connect failed (open failed)
|
||||
```
|
||||
|
||||
try to recreate the machine in rootful mode like this:
|
||||
|
||||
```
|
||||
podman machine stop
|
||||
podman machine rm
|
||||
podman machine init --rootful
|
||||
podman machine start
|
||||
podman run ubi8-micro date
|
||||
```
|
||||
|
||||
Port Forwarding
|
||||
---------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user