Input redirection is not working
- Dominant language
- Go
- Stars
- 21.9k
- Forks
- 957
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 53
Description
### Description
**Lima version:**
[user@lima-default default]$ uname -a
Linux lima-default 5.17.5-300.fc36.aarch64 SMP Thu Apr 28 15:22:08 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
**Host OS**
Darwin 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000 arm64
**Description**
_Command:_
`~/Desktop ✗ ➭ ./_output/lima/bin/limactl shell default nerdctl load < alpine.tar`
_Output:_
`time="2022-09-30T17:30:25Z" level=fatal msg="stdin is empty and input flag is not specified"`
When using nerdctl, the input source seems not been recognized when using input redirection sign. The above command is interpreted as `nerdctl load`.
However after shelling into the Lima instance then running the command, it works fine.
_Shell into Lima instance:_
`~/Desktop ✗ ➭ ./_output/lima/bin/limactl shell default`
_Run command inside Lima:_
`[user@lima-default default]$ nerdctl load < alpine.tar`
_Output:_
`unpacking docker.io/library/alpine:latest` `(sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad)...done`
Contributor guide
Assessment
This issue has not been assessed yet.