You are not logged in.
Hello, opening a project folder with VSCode in podman container i.e. the reopen in container hangs on Failed to connect to the remote extension host server.
First I thought it could be a bug in Rremote-Containers extension but this does not seem probable because I am able to run VSCode & podman on a different PC with Ubuntu 20.04 installed on and up-to-date podman.
See the related vscode-remote GitHub issue
podman info output:
host:
arch: amd64
buildahVersion: 1.19.4
cgroupManager: systemd
cgroupVersion: v2
conmon:
package: /usr/bin/conmon is owned by conmon 1:2.0.26-1
path: /usr/bin/conmon
version: 'conmon version 2.0.26, commit: 0e155c83aa739ef0a0540ec9f9d265f57f68038b'
cpus: 16
distribution:
distribution: arch
version: unknown
eventLogger: journald
hostname: pcsvoboda
idMappings:
gidmap:
- container_id: 0
host_id: 1000
size: 1
- container_id: 1
host_id: 100000
size: 65536
uidmap:
- container_id: 0
host_id: 1000
size: 1
- container_id: 1
host_id: 100000
size: 65536
kernel: 5.10.18-1-lts
linkmode: dynamic
memFree: 25255129088
memTotal: 32915857408
ociRuntime:
name: crun
package: /usr/bin/crun is owned by crun 0.18-1
path: /usr/bin/crun
version: |-
crun version 0.18
commit: 808420efe3dc2b44d6db9f1a3fac8361dde42a95
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
os: linux
remoteSocket:
path: /run/user/1000/podman/podman.sock
security:
apparmorEnabled: false
capabilities: 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_CHROOT
rootless: true
seccompEnabled: true
selinuxEnabled: false
slirp4netns:
executable: /usr/bin/slirp4netns
package: /usr/bin/slirp4netns is owned by slirp4netns 1.1.9-1
version: |-
slirp4netns version 1.1.9
commit: 4e37ea557562e0d7a64dc636eff156f64927335e
libslirp: 4.4.0
SLIRP_CONFIG_VERSION_MAX: 3
libseccomp: 2.5.1
swapFree: 0
swapTotal: 0
uptime: 46m 0.44s
registries: {}
store:
configFile: /home/psvoboda/.config/containers/storage.conf
containerStore:
number: 1
paused: 0
running: 1
stopped: 0
graphDriverName: overlay
graphOptions:
overlay.mount_program:
Executable: /usr/bin/fuse-overlayfs
Package: /usr/bin/fuse-overlayfs is owned by fuse-overlayfs 1.4.0-1
Version: |-
fusermount3 version: 3.10.2
fuse-overlayfs: version 1.4
FUSE library version 3.10.2
using FUSE kernel interface version 7.31
graphRoot: /home/psvoboda/.local/share/containers/storage
graphStatus:
Backing Filesystem: btrfs
Native Overlay Diff: "false"
Supports d_type: "true"
Using metacopy: "false"
imageStore:
number: 2
runRoot: /run/user/1000/containers
volumePath: /home/psvoboda/.local/share/containers/storage/volumes
version:
APIVersion: 3.0.0
Built: 1613921386
BuiltTime: Sun Feb 21 16:29:46 2021
GitCommit: c640670e85c4aaaff92741691d6a854a90229d8d
GoVersion: go1.16
OsArch: linux/amd64
Version: 3.0.1
Did you have a similar problem? Were you able to get it to work? Thank you for any hints.
Offline
Well it seems that after I run
podman inspect -l
VSCode magically could connect to the podman container. Still I don't know what does it cause.
Offline