-
Notifications
You must be signed in to change notification settings - Fork 656
Description
I have done the following
- I have searched the existing issues
- If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
Using the flags together doesnt seem to pipe stdout from within the container. As such cannot redirect for example stdout to /dev/null:
➜ container run -it --rm alpine echo hello > /dev/null
hello
whereas using them separately works as expected:
➜ container run -t --rm alpine echo hello > /dev/null
➜ container run -i --rm alpine echo hello > /dev/null
Current behavior
stdout cannot be redirected/piped:
➜ container run -it --rm alpine echo hello > /dev/null 2> /dev/null
hello
Expected behavior
stdout/err should be piped as normal commands. for example in docker this works as expected:
➜ docker run -it --rm alpine echo hello > /dev/null
Environment
- OS: 26.1 (25B78)
- Xcode:
- Container: 0.7.1Relevant log output
N/ACode of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels