Skip to content

[Request]: container image load fails to read from file descriptor #1429

Description

@loeffel-io

Feature or enhancement request details

https://github.com/bazel-contrib/rules_oci allow to specify a custom loader but container is unable to run it

loader:

#!/bin/bash

container image load --input "$3" # $3 /dev/fd/63

result:

Error: Error Domain=NSCocoaErrorDomain Code=512 "The file “63” couldn’t be saved in the folder “fd”." UserInfo={NSFilePath=/dev/fd/63, NSUnderlyingError=0x751840270 {Error Domain=NSPOSIXErrorDomain Code=9 "Bad file descriptor"}}
tar: Write error

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions