[Bug]: 4.4.0 on Windows WSL now requires explicit -c <vmname> to perform podman ps etc #17373
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
windows
issue/bug on Windows
Issue Description
Hi,
After upgrading to 4.4.0 on Windows with WSL from 4.3.1 Podman now seems to require an explicit -c option to perform a podman ps etc.
If you don't explicitly specify -c option with the vmname then podman fails when doing a ps etc with
Error: failed to connect: dial tcp [::1]:63239: connectex: No connection could be made because the target machine actively refused it.
This happens with a fresh install (removing all old podman vms and files from the .local and .config folders) and simply initialising a new vm with podman machine init.
The Vm runs starts and stops fine and podman ps works if you ssh into the vm.
The only issue seems to be the explicit need for -c on the Windows CLI.
Interestingly i note the podman version is not 4.4.0 in the linux vm (rather it is still 4.3.1) unlike on the host where it is 4.4.0. I'm not sure if this is intentional or not.
I installed using the MSI (thanks for bringing back an MSI option though!)
Doug
Steps to reproduce the issue
Steps to reproduce the issue
1.
2.
3.
Describe the results you received
Describe the results you received
Describe the results you expected
Describe the results you expected
podman info output
Error: failed to connect: dial tcp [::1]:63239: connectex: No connection could be made because the target machine actively refused it.
If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.
podman machine info
Host:
Arch: amd64
CurrentMachine: podman-machine-default
DefaultMachine: ""
EventsDir: C:\Users\douglaswa.local\share\containers\podman\podman
MachineConfigDir: C:\Users\douglaswa.config\containers\podman\machine\wsl
MachineImageDir: C:\Users\douglaswa.local\share\containers\podman\machine\wsl
MachineState: Running
NumberOfMachines: 1
OS: windows
VMType: wsl
Version:
APIVersion: 4.4.0
Built: 1675292552
BuiltTime: Thu Feb 2 00:02:32 2023
GitCommit: 3443f45
GoVersion: go1.19.5
Os: windows
OsArch: windows/amd64
Version: 4.4.0
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: