You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using remote client following this tutorial.
I used VScode to establish a SSH connection so it added an entry in the config file (C:\Users\UserName.ssh\config) like this:
Host 222.222.222.222
HostName 222.222.222.222
User UserName
After I did all the tutorial said, I tried podman ps:
PS > podman ps
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: failed to connect: dial tcp :22: connectex: No connection could be made because the target machine actively refused it.
This problem was finally worked out as soon as I changed the config file entry as follows:
Host Server
HostName 222.222.222.222
User UserName
It seems that when resolving the URI, the ip string was recongnized as host name.
added an entry in the client config file (C:\Users\UserName.ssh\config) like this:
Host 222.222.222.222
HostName 222.222.222.222
User UserName
run podman ps at the client host
Describe the results you received
PS > podman ps
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: failed to connect: dial tcp :22: connectex: No connection could be made because the target machine actively refused it.
Describe the results you expected
PS > podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
podman info output
PS C:\Users\Nemo> podman infohost:
arch: amd64buildahVersion: 1.33.7cgroupControllers:
- cpu
- memory
- pidscgroupManager: systemdcgroupVersion: v2conmon:
package: conmon_2.1.10+ds1-1build2_amd64path: /usr/bin/conmonversion: 'conmon version 2.1.10, commit: unknown'cpuUtilization:
idlePercent: 99.87systemPercent: 0.06userPercent: 0.08cpus: 32databaseBackend: sqlitedistribution:
codename: nobledistribution: ubuntuversion: "24.04"eventLogger: journaldfreeLocks: 2046hostname: sev-hostidMappings:
gidmap:
- container_id: 0host_id: 1000size: 1
- container_id: 1host_id: 100000size: 65536uidmap:
- container_id: 0host_id: 1000size: 1
- container_id: 1host_id: 100000size: 65536kernel: 6.8.0-51-genericlinkmode: dynamiclogDriver: journaldmemFree: 230112788480memTotal: 236234702848networkBackend: netavarknetworkBackendInfo:
backend: netavarkdns:
package: aardvark-dns_1.4.0-5_amd64path: /usr/lib/podman/aardvark-dnsversion: aardvark-dns 1.4.0package: netavark_1.4.0-4_amd64path: /usr/lib/podman/netavarkversion: netavark 1.4.0ociRuntime:
name: runcpackage: runc_1.1.12-0ubuntu3.1_amd64path: /usr/bin/runcversion: |- runc version 1.1.12-0ubuntu3.1 spec: 1.0.2-dev go: go1.22.2 libseccomp: 2.5.5os: linuxpasta:
executable: /usr/bin/pastapackage: passt_0.0~git20240220.1e6f92b-1_amd64version: | pasta unknown version Copyright Red Hat GNU General Public License, version 2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.remoteSocket:
exists: truepath: /run/user/1000/podman/podman.sockrootlessNetworkCmd: ""security:
apparmorEnabled: falsecapabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOTrootless: trueseccompEnabled: trueseccompProfilePath: /usr/share/containers/seccomp.jsonselinuxEnabled: falseserviceIsRemote: trueslirp4netns:
executable: /usr/bin/slirp4netnspackage: slirp4netns_1.2.1-1build2_amd64version: |- slirp4netns version 1.2.1 commit: 09e31e92fa3d2a1d3ca261adaeb012c8d75a8194 libslirp: 4.7.0 SLIRP_CONFIG_VERSION_MAX: 4 libseccomp: 2.5.5swapFree: 8589930496swapTotal: 8589930496uptime: 3h 14m 47.00s (Approximately 0.12 days)variant: ""plugins:
authorization: nulllog:
- k8s-file
- none
- passthrough
- journaldnetwork:
- bridge
- macvlan
- ipvlanvolume:
- localregistries: {}store:
configFile: /home/server/.config/containers/storage.confcontainerStore:
number: 2paused: 0running: 1stopped: 1graphDriverName: overlaygraphOptions: {}graphRoot: /home/server/.local/share/containers/storagegraphRootAllocated: 1966736678912graphRootUsed: 809979752448graphStatus:
Backing Filesystem: extfsNative Overlay Diff: "true"Supports d_type: "true"Supports shifting: "false"Supports volatile: "true"Using metacopy: "false"imageCopyTmpDir: /var/tmpimageStore:
number: 2runRoot: /tmp/containers-user-1000/containerstransientStore: falsevolumePath: /home/server/.local/share/containers/storage/volumesversion:
APIVersion: 4.9.3Built: 0BuiltTime: Thu Jan 1 00:00:00 1970GitCommit: ""GoVersion: go1.22.2Os: linuxOsArch: linux/amd64Version: 4.9.3
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:
Issue Description
I am using remote client following this tutorial.
I used VScode to establish a SSH connection so it added an entry in the config file (C:\Users\UserName.ssh\config) like this:
After I did all the tutorial said, I tried
podman ps
:This problem was finally worked out as soon as I changed the config file entry as follows:
It seems that when resolving the URI, the ip string was recongnized as host name.
Steps to reproduce the issue
Steps to reproduce the issue
podman ps
at the client hostDescribe the results you received
Describe the results you expected
PS > podman ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
podman info output
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: