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
The same happens with podman exec but the reproduction below is simpler.
Steps to reproduce the issue
Steps to reproduce the issue
echo echo aha | podman run --rm -it registry.fedoraproject.org/fedora-toolbox:40 bash -x
observe (the ^C is me pressing ctrl-c once):
$ echo echo aha | podman run --rm -it registry.fedoraproject.org/fedora-toolbox:40 bash
WARN[0000] The input device is not a TTY. The --tty and --interactive flags might not work properly
echo aha
[root@ed76234e307e /]# echo aha
aha
[root@ed76234e307e /]# ^C^C
[root@ed76234e307e /]#
podman kill -l the container in another shell to get the original shell back
Describe the results you received
see above.
Describe the results you expected
it returns after running the command.
podman info output
:arch: amd64buildahVersion: 1.37.2cgroupControllers:
- memory
- pidscgroupManager: systemdcgroupVersion: v2conmon:
package: conmon-2.1.12-2.fc40.x86_64path: /usr/bin/conmonversion: 'conmon version 2.1.12, commit: 'cpuUtilization:
idlePercent: 97.13systemPercent: 0.87userPercent: 2cpus: 16databaseBackend: boltdbdistribution:
distribution: fedoravariant: sway-atomicversion: "40"eventLogger: journaldfreeLocks: 2016hostname: frameworkidMappings:
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.10.8-200.fc40.x86_64linkmode: dynamiclogDriver: journaldmemFree: 47918600192memTotal: 65098342400networkBackend: netavarknetworkBackendInfo:
backend: netavarkdns:
package: aardvark-dns-1.12.2-2.fc40.x86_64path: /usr/libexec/podman/aardvark-dnsversion: aardvark-dns 1.12.2package: netavark-1.12.2-1.fc40.x86_64path: /usr/libexec/podman/netavarkversion: netavark 1.12.2ociRuntime:
name: crunpackage: crun-1.15-1.fc40.x86_64path: /usr/bin/crunversion: |- crun version 1.15 commit: e6eacaf4034e84185fd8780ac9262bbf57082278 rundir: /run/user/1000/crun spec: 1.0.0 +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJLos: linuxpasta:
executable: /usr/bin/pastapackage: passt-0^20240906.g6b38f07-1.fc40.x86_64version: | pasta 0^20240906.g6b38f07-1.fc40.x86_64 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: falsepath: /run/user/1000/podman/podman.sockrootlessNetworkCmd: pastasecurity:
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: trueserviceIsRemote: falseslirp4netns:
executable: /usr/bin/slirp4netnspackage: slirp4netns-1.2.2-2.fc40.x86_64version: |- slirp4netns version 1.2.2 commit: 0ee2d87523e906518d34a6b423271e4826f71faf libslirp: 4.7.0 SLIRP_CONFIG_VERSION_MAX: 4 libseccomp: 2.5.5swapFree: 8589930496swapTotal: 8589930496uptime: 2h 26m 42.00s (Approximately 0.08 days)variant: ""plugins:
authorization: nulllog:
- k8s-file
- none
- passthrough
- journaldnetwork:
- bridge
- macvlan
- ipvlanvolume:
- localregistries:
search:
- registry.fedoraproject.org
- registry.access.redhat.com
- docker.iostore:
configFile: /var/home/tob/.config/containers/storage.confcontainerStore:
number: 9paused: 0running: 4stopped: 5graphDriverName: overlaygraphOptions: {}graphRoot: /var/home/tob/.local/share/containers/storagegraphRootAllocated: 998483427328graphRootUsed: 450714636288graphStatus:
Backing Filesystem: btrfsNative Overlay Diff: "true"Supports d_type: "true"Supports shifting: "false"Supports volatile: "true"Using metacopy: "false"imageCopyTmpDir: /var/tmpimageStore:
number: 15runRoot: /run/user/1000/containerstransientStore: falsevolumePath: /var/home/tob/.local/share/containers/storage/volumesversion:
APIVersion: 5.2.2Built: 1724198400BuiltTime: Wed Aug 21 02:00:00 2024GitCommit: ""GoVersion: go1.22.6Os: linuxOsArch: linux/amd64Version: 5.2.2
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
Additional information
The text was updated successfully, but these errors were encountered:
you are passing a pipe as stdin, but requesting to create a terminal. Podman warns you WARN[0000] The input device is not a TTY. The --tty and --interactive flags might not work properly.
Just drop the -t from the command or do not use a pipe as stdin
Issue Description
This happens with rootful and rootless podman.
The same happens with
podman exec
but the reproduction below is simpler.Steps to reproduce the issue
Steps to reproduce the issue
echo echo aha | podman run --rm -it registry.fedoraproject.org/fedora-toolbox:40 bash -x
^C
is me pressing ctrl-c once):podman kill -l
the container in another shell to get the original shell backDescribe the results you received
see above.
Describe the results you expected
it returns after running the command.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
Additional information
The text was updated successfully, but these errors were encountered: