-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman image build fails 'bad file descriptor' when given --file -
for stdin
#17480
Comments
This is working in podman 4.4 $ echo "from scratch" | podman build - |
I reproduced a similar issue in podman version 4.5.0-dev rootless remote. If
|
P |
@rhatdan You tested something that I didn't report. Please reopen. You used: I used I'm just following the documentation which says, for the
Of note:
Side note: After filling this issue, I attempted to test this on v4.4.1, but it's unclear if I was successful in upgrading. I have a 4.4.1 client, but the 4.4.1 client using |
(As a side quest, I looked into the |
I am able to reproduce this now on Linux and tested a hypothesis that this is a problem specific to podman machine usage. On Linux, my example does not fail because it presumably runs on the host natively. On macOS, it fails. One major difference is Linux is native and macOS uses podman machine. If I create a podman machine on Linux and instruct podman to use this virtual machine, it fails on LIux with a slightly different error than my original report (on macOS) and is very similar in error to #17495. I'll follow up on #17495 for this assuming that my issue is similar. |
Run rootless bud tests as part of the nightly treadmill job. Reason: containers#17480 could have been caught before release. Also: refactored bot this and bud_test_task (the task which I copypasted to form this one) to use *stdenvars; thanks @cevich for catching that. Signed-off-by: Ed Santiago <[email protected]>
Issue Description
podman build
fails when given-f -
for reading a Containerfile via stdin.Steps to reproduce the issue
Steps to reproduce the issue
echo "FROM ubuntu:latest" | podman build -f -
Describe the results you received
Describe the results you expected
It should build the container image.
podman info output
The text was updated successfully, but these errors were encountered: