-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Issue Description
Problem
With a normal container backed by crun, I can run TUI apps like htop, nvim or claude without any problem.
But if I run container with krun, i.e. with handler annotion like podman container run -it --rm --annotation=run.oci.handler=krun docker.io/library/ubuntu:noble-20260113, those apps can't be Enter-ed. Handling of enter is not correct so I can't, for example, send signals to process in htop's signal selection drop menu.
I'm sorry if it's known limitation. But I could not find documents about it.
Things I've tried
- Using script wrapper in container:
script -qc /bin/bash /dev/null
About podman info
- podman is built using podman-static.
- crun is built from source to enable
libkrun. libkrunis provided by nixpackage.
Steps to reproduce the issue
LD_LIBRARY_PATH=$HOME/.nix-profile/lib podman container run -it --rm --annotation=run.oci.handler=krun docker.io/library/ubuntu:noble-20260113(if you are using nix as a package manager. Library path may differ depending on environemnt)- In container,
apt update && apt install htop -y htop- press
kandEnter
Describe the results you received
Nothing happens.
Describe the results you expected
The program exits, or signal is sent and selected process stops.
podman info output
host:
arch: amd64
buildahVersion: 1.42.2
cgroupControllers:
- cpu
- memory
- pids
cgroupManager: cgroupfs
cgroupVersion: v2
conmon:
package: Unknown
path: /home/ngicks/.local/containers/lib/podman/conmon
version: 'conmon version 2.1.13, commit: 82de887596ed8ee6d9b2ee85e4f167f307bb569b'
cpuUtilization:
idlePercent: 99.74
systemPercent: 0.15
userPercent: 0.11
cpus: 24
databaseBackend: sqlite
distribution:
codename: noble
distribution: ubuntu
version: "24.04"
emulatedArchitectures:
- linux/arm
- linux/arm64
- linux/loong64
- linux/mips
- linux/mips64
- linux/ppc
- linux/ppc64
- linux/ppc64le
- linux/riscv32
- linux/riscv64
- linux/s390x
eventLogger: file
freeLocks: 2042
hostname: ngicks
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: 6.6.87.2-microsoft-standard-WSL2
linkmode: dynamic
logDriver: k8s-file
memFree: 16696713216
memTotal: 33191788544
networkBackend: netavark
networkBackendInfo:
backend: netavark
dns:
package: Unknown
path: /home/ngicks/.local/containers/lib/podman/aardvark-dns
version: aardvark-dns 1.17.0
package: Unknown
path: /home/ngicks/.local/containers/lib/podman/netavark
version: netavark 1.17.0
ociRuntime:
name: crun
package: Unknown
path: /home/ngicks/.local/bin/override/crun
version: |-
crun version 1.26
commit: 3241e671f92c33b0c003cd7de319e4f32add6231
rundir: /run/user/1000/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +LIBKRUN +YAJL
os: linux
pasta:
executable: /home/ngicks/.local/containers/bin/pasta
package: Unknown
version: |
pasta 2025_12_10.d04c480
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: true
path: /run/user/1000/podman/podman.sock
rootlessNetworkCmd: slirp4netns
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
seccompProfilePath: ""
selinuxEnabled: false
serviceIsRemote: false
slirp4netns:
executable: /usr/bin/slirp4netns
package: slirp4netns_1.2.1-1build2_amd64
version: |-
slirp4netns version 1.2.1
commit: 09e31e92fa3d2a1d3ca261adaeb012c8d75a8194
libslirp: 4.7.0
SLIRP_CONFIG_VERSION_MAX: 4
libseccomp: 2.5.5
swapFree: 8588087296
swapTotal: 8589934592
uptime: 30h 21m 52.00s (Approximately 1.25 days)
variant: ""
plugins:
authorization: null
log:
- k8s-file
- none
- passthrough
network:
- bridge
- macvlan
- ipvlan
volume:
- local
registries:
search:
- docker.io
- registry.fedoraproject.org
- registry.access.redhat.com
store:
configFile: /home/ngicks/.config/containers/storage.conf
containerStore:
number: 1
paused: 0
running: 1
stopped: 0
graphDriverName: overlay
graphOptions:
overlay.ignore_chown_errors: "true"
overlay.mount_program:
Executable: /home/ngicks/.local/containers/bin/fuse-overlayfs
Package: Unknown
Version: |-
fuse-overlayfs: version 1.16
fusermount3 version: 3.14.0
FUSE library version 3.17.4
using FUSE kernel interface version 7.40
overlay.mountopt: nodev,fsync=0
graphRoot: /home/ngicks/.local/share/containers/graphroot
graphRootAllocated: 536870912000
graphRootUsed: 291016593408
graphStatus:
Backing Filesystem: btrfs
Native Overlay Diff: "false"
Supports d_type: "true"
Supports shifting: "true"
Supports volatile: "true"
Using metacopy: "false"
imageCopyTmpDir: /var/tmp
imageStore:
number: 104
runRoot: /run/user/1000/containers/storage
transientStore: false
volumePath: /home/ngicks/.local/share/containers/graphroot/volumes
version:
APIVersion: 5.7.1
Built: 0
BuiltTime: Thu Jan 1 09:00:00 1970
GitCommit: ""
GoVersion: go1.25.5
Os: linux
OsArch: linux/amd64
Version: 5.7.1Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
wsl.exe --version
$ wsl.exe --version
WSL バージョン: 2.6.1.0
カーネル バージョン: 6.6.87.2-1
WSLg バージョン: 1.0.66
MSRDC バージョン: 1.2.6353
Direct3D バージョン: 1.611.1-81528511
DXCore バージョン: 10.0.26100.1-240331-1435.ge-release
Windows バージョン: 10.0.26200.7623
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.